标题:
[分享]
关于在centos 5.3 x64系统安装lanmp途中的错误个人总结解决办法
[打印本页]
作者:
cngzit
时间:
2012-10-20 13:25
标题:
关于在centos 5.3 x64系统安装lanmp途中的错误个人总结解决办法
本帖最后由 cngzit 于 2012-10-20 13:29 编辑
折腾了我几天的错误今天终于完美安装了,现总结如下,仅供参考,感谢谢wdlinux官方论坛管理员指导安装,还有感谢谢各位热心的网友。
提示错误1:
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
configure: error: libjpeg.(a|so) not found.
----Install Error: php configure err -----------
复制代码
解决方法:
# yum install -y libjpeg-devel
复制代码
提示错误2:
cd /usr/local/src/php-5.2.6/ext/curl/
/usr/local/php-fcgi/bin/phpize
./configure –with-php-config=/usr/local/php-fcgi/bin/php-config
checking for gnutls support in libcurl… no
checking for curl_easy_perform in -lcurl… no
configure: error: There is something wrong. Please check config.log for more information.
----Install Error: php configure err -----------
复制代码
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking whether to enable ctype functions... yes
checking for cURL support... yes
checking if we should use cURL for url streams... no
checking for cURL in default path... found in /usr
checking for cURL 7.10.5 or greater... libcurl 7.15.5
checking for SSL support in libcurl... yes
checking how to run the C preprocessor... gcc -E
checking for openssl support in libcurl... no
checking for gnutls support in libcurl... no
checking for curl_easy_perform in -lcurl... no
configure: error: There is something wrong. Please check config.log for more information.
----Install Error: wdphp configure err -----------
复制代码
解决方法:
我赶紧检查有没有装curl的devel
rpm -qa |grep curl
复制代码
查了半天资料, 还是找到结果了, 只要以下包都安装了, 就可以完美通过!
curl-devel-7.15.5-2.el5
e2fsprogs-devel-1.39-15.el5
krb5-devel-1.6.1-25.el5
libidn-devel-0.6.5-1.1
openssl-devel-0.9.8b-10.el5
复制代码
作者:
admin
时间:
2012-10-20 17:02
很好
作者:
cngzit
时间:
2012-10-20 21:13
主要是让像我这样的菜鸟不走这么多弯路。。。
作者:
taoboacn
时间:
2012-10-22 16:54
留个记号
欢迎光临 WDlinux官方论坛 (http://wdlinux.cn/bbs/)
Powered by Discuz! 7.2