提问三步曲: 提问先看教程/FAQ索引(wdcp,wdcp_v3,一键包)及搜索,会让你更快解决问题
1 提供详细,如系统版本,wdcp版本,软件版本等及错误的详细信息,贴上论坛或截图发论坛
2 做过哪些操作或改动设置等
温馨提示:信息不详,很可能会没人理你!论坛有教程说明的,也可能没人理!因为,你懂的
[分享] 关于在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
查了半天资料, 还是找到结果了, 只要以下包都安装了, 就可以完美通过!
- 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
复制代码 |