VPS侦探论坛

标题: 手动安装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]#

PHP版本为5.2.17

[ 本帖最后由 灵尘子 于 2011-7-30 10:51 编辑 ]
作者: licess    时间: 2011-7-30 11:30
php没有安装成功或者在编译参数里加上--with-php-config=/usr/local/php/bin/php-cgi
作者: 灵尘子    时间: 2011-7-30 20:00
标题: 回复 2# 的帖子
如何重新安装PHP呢?




欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) Powered by Discuz! X3.4