yo3ovladivostok
Постоялец
- Регистрация
- 27 Июл 2008
- Сообщения
- 100
- Реакции
- 3
- Автор темы
- #1
сервер vds linux CentOS
помогите установить ffmpeg-php на сервер
при установки выдает ошибки
[root@aiber ffmpeg-php-0.6.0]# ./configure
checking for egrep... 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 ANSI C... 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-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking target system type... i686-redhat-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext
checking for PHP extension directory... /usr/lib/php/modules
checking for PHP installed headers prefix... /usr/include/php
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 whether to force gd support in ffmpeg-php... no
checking for ffmpeg headers... ...found in /usr/local/include
checking for ffmpeg libavcodec.so... ...found in /usr/lib
checking for ffmpeg swscale support... yes
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged
[root@aiber ffmpeg-php-0.6.0]# make
/bin/sh /usr/ffmpeg-php-0.6.0/libtool --mode=compile gcc -I. -I/usr/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/usr/ffmpeg-php-0.6.0/include -I/usr/ffmpeg-php-0.6.0/main -I/usr/ffmpeg-php-0.6.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /usr/ffmpeg-php-0.6.0/ffmpeg-php.c -o ffmpeg-php.lo
mkdir .libs
gcc -I. -I/usr/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/usr/ffmpeg-php-0.6.0/include -I/usr/ffmpeg-php-0.6.0/main -I/usr/ffmpeg-php-0.6.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /usr/ffmpeg-php-0.6.0/ffmpeg-php.c -fPIC -DPIC -o .libs/ffmpeg-php.o
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:43:22: error: avformat.h: No such file or directory
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:46:21: error: swscale.h: No such file or directory
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c: In function 'zm_startup_ffmpeg':
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:97: warning: implicit declaration of function 'av_register_all'
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c: In function 'zm_info_ffmpeg':
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:154: error: 'LIBAVFORMAT_IDENT' undeclared (first use in this function)
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:154: error: (Each undeclared identifier is reported only once
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:154: error: for each function it appears in.)
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:156: error: 'LIBSWSCALE_IDENT' undeclared (first use in this function)
make: *** [ffmpeg-php.lo] Error 1
[root@aiber ffmpeg-php-0.6.0]# make install
/bin/sh /usr/ffmpeg-php-0.6.0/libtool --mode=compile gcc -I. -I/usr/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/usr/ffmpeg-php-0.6.0/include -I/usr/ffmpeg-php-0.6.0/main -I/usr/ffmpeg-php-0.6.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /usr/ffmpeg-php-0.6.0/ffmpeg-php.c -o ffmpeg-php.lo
gcc -I. -I/usr/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/usr/ffmpeg-php-0.6.0/include -I/usr/ffmpeg-php-0.6.0/main -I/usr/ffmpeg-php-0.6.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /usr/ffmpeg-php-0.6.0/ffmpeg-php.c -fPIC -DPIC -o .libs/ffmpeg-php.o
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:43:22: error: avformat.h: No such file or directory
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:46:21: error: swscale.h: No such file or directory
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c: In function 'zm_startup_ffmpeg':
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:97: warning: implicit declaration of function 'av_register_all'
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c: In function 'zm_info_ffmpeg':
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:154: error: 'LIBAVFORMAT_IDENT' undeclared (first use in this function)
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:154: error: (Each undeclared identifier is reported only once
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:154: error: for each function it appears in.)
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:156: error: 'LIBSWSCALE_IDENT' undeclared (first use in this function)
make: *** [ffmpeg-php.lo] Error 1
[root@aiber ffmpeg-php-0.6.0]# CPPFLAGS="-I/usr/local/include" ./configure --with-php-config=/opt/php/bin/php-config --with-ffmpeg=/usr/local/include
checking for egrep... 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 ANSI C... 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-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking target system type... i686-redhat-linux-gnu
./configure: line 2951: /opt/php/bin/php-config: No such file or directory
./configure: line 2952: /opt/php/bin/php-config: No such file or directory
configure: error: Cannot find php-config. Please use --with-php-config=PATH
[root@aiber ffmpeg-php-0.6.0]# make
/bin/sh /usr/ffmpeg-php-0.6.0/libtool --mode=compile gcc -I. -I/usr/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/usr/ffmpeg-php-0.6.0/include -I/usr/ffmpeg-php-0.6.0/main -I/usr/ffmpeg-php-0.6.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /usr/ffmpeg-php-0.6.0/ffmpeg-php.c -o ffmpeg-php.lo
gcc -I. -I/usr/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/usr/ffmpeg-php-0.6.0/include -I/usr/ffmpeg-php-0.6.0/main -I/usr/ffmpeg-php-0.6.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /usr/ffmpeg-php-0.6.0/ffmpeg-php.c -fPIC -DPIC -o .libs/ffmpeg-php.o
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:43:22: error: avformat.h: No such file or directory
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:46:21: error: swscale.h: No such file or directory
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c: In function 'zm_startup_ffmpeg':
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:97: warning: implicit declaration of function 'av_register_all'
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c: In function 'zm_info_ffmpeg':
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:154: error: 'LIBAVFORMAT_IDENT' undeclared (first use in this function)
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:154: error: (Each undeclared identifier is reported only once
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:154: error: for each function it appears in.)
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:156: error: 'LIBSWSCALE_IDENT' undeclared (first use in this function)
make: *** [ffmpeg-php.lo] Error 1
что за хрень не пойму
помогите установить ffmpeg-php на сервер
при установки выдает ошибки
[root@aiber ffmpeg-php-0.6.0]# ./configure
checking for egrep... 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 ANSI C... 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-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking target system type... i686-redhat-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext
checking for PHP extension directory... /usr/lib/php/modules
checking for PHP installed headers prefix... /usr/include/php
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 whether to force gd support in ffmpeg-php... no
checking for ffmpeg headers... ...found in /usr/local/include
checking for ffmpeg libavcodec.so... ...found in /usr/lib
checking for ffmpeg swscale support... yes
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged
[root@aiber ffmpeg-php-0.6.0]# make
/bin/sh /usr/ffmpeg-php-0.6.0/libtool --mode=compile gcc -I. -I/usr/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/usr/ffmpeg-php-0.6.0/include -I/usr/ffmpeg-php-0.6.0/main -I/usr/ffmpeg-php-0.6.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /usr/ffmpeg-php-0.6.0/ffmpeg-php.c -o ffmpeg-php.lo
mkdir .libs
gcc -I. -I/usr/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/usr/ffmpeg-php-0.6.0/include -I/usr/ffmpeg-php-0.6.0/main -I/usr/ffmpeg-php-0.6.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /usr/ffmpeg-php-0.6.0/ffmpeg-php.c -fPIC -DPIC -o .libs/ffmpeg-php.o
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:43:22: error: avformat.h: No such file or directory
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:46:21: error: swscale.h: No such file or directory
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c: In function 'zm_startup_ffmpeg':
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:97: warning: implicit declaration of function 'av_register_all'
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c: In function 'zm_info_ffmpeg':
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:154: error: 'LIBAVFORMAT_IDENT' undeclared (first use in this function)
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:154: error: (Each undeclared identifier is reported only once
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:154: error: for each function it appears in.)
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:156: error: 'LIBSWSCALE_IDENT' undeclared (first use in this function)
make: *** [ffmpeg-php.lo] Error 1
[root@aiber ffmpeg-php-0.6.0]# make install
/bin/sh /usr/ffmpeg-php-0.6.0/libtool --mode=compile gcc -I. -I/usr/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/usr/ffmpeg-php-0.6.0/include -I/usr/ffmpeg-php-0.6.0/main -I/usr/ffmpeg-php-0.6.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /usr/ffmpeg-php-0.6.0/ffmpeg-php.c -o ffmpeg-php.lo
gcc -I. -I/usr/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/usr/ffmpeg-php-0.6.0/include -I/usr/ffmpeg-php-0.6.0/main -I/usr/ffmpeg-php-0.6.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /usr/ffmpeg-php-0.6.0/ffmpeg-php.c -fPIC -DPIC -o .libs/ffmpeg-php.o
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:43:22: error: avformat.h: No such file or directory
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:46:21: error: swscale.h: No such file or directory
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c: In function 'zm_startup_ffmpeg':
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:97: warning: implicit declaration of function 'av_register_all'
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c: In function 'zm_info_ffmpeg':
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:154: error: 'LIBAVFORMAT_IDENT' undeclared (first use in this function)
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:154: error: (Each undeclared identifier is reported only once
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:154: error: for each function it appears in.)
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:156: error: 'LIBSWSCALE_IDENT' undeclared (first use in this function)
make: *** [ffmpeg-php.lo] Error 1
[root@aiber ffmpeg-php-0.6.0]# CPPFLAGS="-I/usr/local/include" ./configure --with-php-config=/opt/php/bin/php-config --with-ffmpeg=/usr/local/include
checking for egrep... 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 ANSI C... 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-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking target system type... i686-redhat-linux-gnu
./configure: line 2951: /opt/php/bin/php-config: No such file or directory
./configure: line 2952: /opt/php/bin/php-config: No such file or directory
configure: error: Cannot find php-config. Please use --with-php-config=PATH
[root@aiber ffmpeg-php-0.6.0]# make
/bin/sh /usr/ffmpeg-php-0.6.0/libtool --mode=compile gcc -I. -I/usr/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/usr/ffmpeg-php-0.6.0/include -I/usr/ffmpeg-php-0.6.0/main -I/usr/ffmpeg-php-0.6.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /usr/ffmpeg-php-0.6.0/ffmpeg-php.c -o ffmpeg-php.lo
gcc -I. -I/usr/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/usr/ffmpeg-php-0.6.0/include -I/usr/ffmpeg-php-0.6.0/main -I/usr/ffmpeg-php-0.6.0 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /usr/ffmpeg-php-0.6.0/ffmpeg-php.c -fPIC -DPIC -o .libs/ffmpeg-php.o
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:43:22: error: avformat.h: No such file or directory
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:46:21: error: swscale.h: No such file or directory
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c: In function 'zm_startup_ffmpeg':
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:97: warning: implicit declaration of function 'av_register_all'
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c: In function 'zm_info_ffmpeg':
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:154: error: 'LIBAVFORMAT_IDENT' undeclared (first use in this function)
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:154: error: (Each undeclared identifier is reported only once
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:154: error: for each function it appears in.)
/usr/ffmpeg-php-0.6.0/ffmpeg-php.c:156: error: 'LIBSWSCALE_IDENT' undeclared (first use in this function)
make: *** [ffmpeg-php.lo] Error 1
что за хрень не пойму