标题: 手动安装eaccelerator-0.9.5.3报错了,Cannot find php-config [打印本页] 作者: 灵尘子 时间: 2011-7-30 10:50 标题: 手动安装eaccelerator-0.9.5.3报错了,Cannot find php-config [root@finalcn eaccelerator-0.9.5.3]# ./configure --enable-eaccelerator=shared --with-php-config=/usr/php/bin/php-config --with-eaccelerator-shared-memory
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
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 cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
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
configure: error: Cannot find php-config. Please use --with-php-config=PATH
[root@finalcn eaccelerator-0.9.5.3]# ./configure --enable-eaccelerator=shared --with-php-config=/usr/php/bin/php-config --with-eaccelerator-shared-memory
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
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 cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
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 configure: error: Cannot find php-config. Please use --with-php-config=PATH
[root@finalcn eaccelerator-0.9.5.3]# make make: *** No rule to make target `/home/bart/development/eaccelerator/branches/0.9.5/eaccelerator.c', needed by `eaccelerator.lo'. Stop.
[root@finalcn eaccelerator-0.9.5.3]#