原帖由
i553041 於 2008-3-7 14:29 發表
你用咩Linux發行版架?Ubuntu?
試試咁樣得唔得...將./configure果行指令改做:
./configure --enable-shared --prefix=/usr
[root@ysk ~]# cd /usr/local/src/ffmpeg-php-0.5.0/
[root@ysk ffmpeg-php-0.5.0]# ./configure --enable-shared --prefix=/usr
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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 for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20020429
checking for re2c... exit 0;
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
[root@ysk ffmpeg-php-0.5.0]# make
make: *** No targets specified and no makefile found. Stop.
[root@ysk ffmpeg-php-0.5.0]# make install
make: *** No rule to make target `install'. Stop.
我都想知自己咩版=.=
我係網存幫我裝...