ffmpeg php erro debian vps

1. ffmpeg php erro debian vps

alex fernando
kakashianf

(usa Debian)

Enviado em 23/09/2008 - 12:29h

to com vps debian instalei tudo ffmpeg mais no ffmpeg php apresenta seguinte tela
server01:/usr/local/src/ffmpeg-php-0.5.0# ./configure
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
checking for PHP extension directory... /usr/lib/php5/20060613+lfs
checking for PHP installed headers prefix... /usr/include/php5
checking for re2c... no
configure: WARNING: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for ffmpeg support... yes, shared
checking for ffmpeg headers... configure: error: ffmpeg headers not found. Make sure you've built ffmpeg as shared libs using the --enable-shared option
server01:/usr/local/src/ffmpeg-php-0.5.0# ffmpeg headers.



  


2. Re: ffmpeg php erro debian vps

Geraldo José Ferreira Chagas Júnior
gjr_rj

(usa Debian)

Enviado em 23/09/2008 - 13:24h

está dizendo que você precisa instalar os pacotes re2c 0.9.11 ou superior.

Digite re2c 0.9.11 no google que irá encontrar vários download's incluindo o site oficial.


3. Instalei mais apareceu outro erro na hora de dar make

alex fernando
kakashianf

(usa Debian)

Enviado em 23/09/2008 - 13:34h

/usr/local/src/ffmpeg-php-0.5.0/ffmpeg_frame.c: In function '_php_convert_frame':
/usr/local/src/ffmpeg-php-0.5.0/ffmpeg_frame.c:162: warning: implicit declaration of function 'img_convert'
/usr/local/src/ffmpeg-php-0.5.0/ffmpeg_frame.c: In function '_php_crop_frame':
/usr/local/src/ffmpeg-php-0.5.0/ffmpeg_frame.c:215: warning: implicit declaration of function 'img_copy'
/usr/local/src/ffmpeg-php-0.5.0/ffmpeg_frame.c: In function '_php_resample_frame':
/usr/local/src/ffmpeg-php-0.5.0/ffmpeg_frame.c:237: error: 'ImgReSampleContext' undeclared (first use in this function)
/usr/local/src/ffmpeg-php-0.5.0/ffmpeg_frame.c:237: error: (Each undeclared identifier is reported only once
/usr/local/src/ffmpeg-php-0.5.0/ffmpeg_frame.c:237: error: for each function it appears in.)
/usr/local/src/ffmpeg-php-0.5.0/ffmpeg_frame.c:237: error: 'img_resample_ctx' undeclared (first use in this function)
/usr/local/src/ffmpeg-php-0.5.0/ffmpeg_frame.c:263: warning: implicit declaration of function 'img_resample_full_init'
/usr/local/src/ffmpeg-php-0.5.0/ffmpeg_frame.c:276: warning: implicit declaration of function 'img_resample'
/usr/local/src/ffmpeg-php-0.5.0/ffmpeg_frame.c:281: warning: implicit declaration of function 'img_resample_close'
make: *** [ffmpeg_frame.lo] Error 1
server01:/usr/local/src/ffmpeg-php-0.5.0#



4. Re: ffmpeg php erro debian vps

Geraldo José Ferreira Chagas Júnior
gjr_rj

(usa Debian)

Enviado em 24/09/2008 - 12:33h

Parece que você instalou uma versão errada. Ele está reclamando de várias coisas que não existem.

Confirma a versão que você instalou, se é compatível. Provavelmente não.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts