Board logo

标题: [分享] 关于在centos 5.3 x64系统安装lanmp途中的错误个人总结解决办法 [打印本页]

作者: cngzit    时间: 2012-10-20 13:25     标题: 关于在centos 5.3 x64系统安装lanmp途中的错误个人总结解决办法

本帖最后由 cngzit 于 2012-10-20 13:29 编辑

折腾了我几天的错误今天终于完美安装了,现总结如下,仅供参考,感谢谢wdlinux官方论坛管理员指导安装,还有感谢谢各位热心的网友。
提示错误1:
  1. checking whether to enable JIS-mapped Japanese font support in GD... no
  2. checking for fabsf... yes
  3. checking for floorf... yes
  4. configure: error: libjpeg.(a|so) not found.
  5. ----Install Error: php configure err -----------
复制代码


解决方法:
  1. # yum install -y libjpeg-devel
复制代码


提示错误2:
  1. cd /usr/local/src/php-5.2.6/ext/curl/
  2. /usr/local/php-fcgi/bin/phpize
  3. ./configure –with-php-config=/usr/local/php-fcgi/bin/php-config
  4. checking for gnutls support in libcurl… no
  5. checking for curl_easy_perform in -lcurl… no
  6. configure: error: There is something wrong. Please check config.log for more information.

  7. ----Install Error: php configure err -----------
复制代码
  1. checking for BZip2 support... no
  2. checking whether to enable calendar conversion support... no
  3. checking whether to enable ctype functions... yes
  4. checking for cURL support... yes
  5. checking if we should use cURL for url streams... no
  6. checking for cURL in default path... found in /usr
  7. checking for cURL 7.10.5 or greater... libcurl 7.15.5
  8. checking for SSL support in libcurl... yes
  9. checking how to run the C preprocessor... gcc -E
  10. checking for openssl support in libcurl... no
  11. checking for gnutls support in libcurl... no
  12. checking for curl_easy_perform in -lcurl... no
  13. configure: error: There is something wrong. Please check config.log for more information.

  14. ----Install Error: wdphp configure err -----------
复制代码

解决方法:
我赶紧检查有没有装curl的devel
  1. rpm -qa |grep curl
复制代码

查了半天资料, 还是找到结果了, 只要以下包都安装了, 就可以完美通过!
  1. curl-devel-7.15.5-2.el5
  2. e2fsprogs-devel-1.39-15.el5
  3. krb5-devel-1.6.1-25.el5
  4. libidn-devel-0.6.5-1.1
  5. 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