WDlinux官方论坛's Archiver

cngzit 发表于 2012-10-20 13:25

关于在centos 5.3 x64系统安装lanmp途中的错误个人总结解决办法

[i=s] 本帖最后由 cngzit 于 2012-10-20 13:29 编辑 [/i]

折腾了我几天的错误今天终于完美安装了,现总结如下,仅供参考,感谢谢wdlinux官方论坛管理员指导安装,还有感谢谢各位热心的网友。
提示错误1:
[code]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 -----------[/code]

解决方法:
[code]# yum install -y libjpeg-devel[/code]

提示错误2:
[code]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 -----------[/code]
[code]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 -----------[/code]
解决方法:
我赶紧检查有没有装curl的devel
[code]rpm -qa |grep curl[/code]
查了半天资料, 还是找到结果了, 只要以下包都安装了, 就可以完美通过!
[code]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[/code]

admin 发表于 2012-10-20 17:02

很好

cngzit 发表于 2012-10-20 21:13

主要是让像我这样的菜鸟不走这么多弯路。。。

taoboacn 发表于 2012-10-22 16:54

留个记号:D

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.