|
因为需要curl模块,那我进入 famp目录解开php-5.2.9.tar.gz,然后进入php-5.2.9/ext/curl目录下运行 /usr/local/php-fcgi/bin/phpize
./configure -with-php-config=/usr/local/php-fcgi/bin/php-config
但配置的时候出错了,显示:
[root@localhost curl]# ./configure -with-php-config=/usr/local/php-fcgi/bin/php- config
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 how to run the C preprocessor... gcc -E
checking for icc... no
checking whether gcc and cc understand -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
checking for PHP prefix... /usr/local/php-fcgi
checking for PHP includes... -I/usr/local/php-fcgi/include/php -I/usr/local/php- fcgi/include/php/main -I/usr/local/php-fcgi/include/php/TSRM -I/usr/local/php-fc gi/include/php/Zend -I/usr/local/php-fcgi/include/php/ext -I/usr/local/php-fcgi/ include/php/ext/date/lib
checking for PHP extension directory... /usr/local/php-fcgi/lib/php/extensions/n o-debug-non-zts-20060613
checking for PHP installed headers prefix... /usr/local/php-fcgi/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for cURL support... yes, shared
checking if we should use cURL for url streams... no
checking for cURL in default path... not found
configure: error: Please reinstall the libcurl distribution -
easy.h should be in <curl-dir>/include/curl/
还需要安装什么库么? |
|