免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2230 | 回复: 0
打印 上一主题 下一主题

linux(centos5.5)下编译php时的一些典型错误及解决办法。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-09-28 18:12 |只看该作者 |倒序浏览
linux(centos5.5)下编译php时的一些典型错误及解决办法。


.转载
configure: error: xml2-config not found. Please check your libxml2 installation.

Java代码

  1. yum install libxml2-devel
复制代码
configure: error: Cannot find OpenSSL’s

Java代码

  1. yum install openssl-devel
复制代码
configure: error: Please reinstall the libcurl distribution -
easy.h should be in /include/curl/

Java代码

  1. yum install curl-devel
复制代码
configure: error: libjpeg.(a|so) not found

Java代码

  1. yum install libjpeg-devel
复制代码
configure: error: libpng.(a|so) not found.

Java代码

  1. yum install libpng-devel
复制代码
configure: error: libXpm.(a|so) not found.

Java代码

  1. yum install libXpm-devel
复制代码
configure: error: freetype.h not found.

Java代码

  1. yum install freetype-devel
复制代码
configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.

Java代码

  1. yum install libc-client-devel
复制代码
configure: error: mcrypt.h not found. Please reinstall libmcrypt.

Java代码

  1. yum install libmcrypt-devel
复制代码
configure: error: Please reinstall libmhash – I cannot find mhash.h

Java代码

  1. yum install mhash-devel
复制代码
configure: error: Cannot find MySQL header files under /usr.
Note that the MySQL client library is not bundled anymore!

Java代码

  1. yum install mysql-devel
复制代码
configure: error: Please reinstall ming distribution. libming.(a|so) not found
- temp remove the config for ‘–with-ming=/opt/ming/’

configure: error: Cannot find pspell

Java代码

  1. yum install pspell-devel
复制代码
configure: error: cannot find mm library
Download from http://www.ossp.org/pkg/lib/mm/

Java代码

  1. wget ftp://ftp.ossp.org/pkg/lib/mm/mm-1.4.2.tar.gz
  2. Extract it:  tar -zxvf mm-1.4.2.tar.gz
  3. ./configure
  4. make
  5. make install
复制代码
configure: error: Cannot find libtidy

Java代码

  1. yum install libtidy-devel
  2. yum install libtidy
  3. change path at configure: ‘–with-tidy=/usr’
复制代码
configure: error: not found. Please reinstall the expat distribution.

Java代码

  1. yum install expat-devel
复制代码
configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution

Java代码

  1. yum install libxslt-devel
复制代码
*Tips: To uninstall, just enter:

Java代码

  1. yum remove {package-name}
复制代码
Finally the compilation of php end with “Thank you for using PHP.”
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP