首页 → Linux教程
背景:
阅读新闻
CentOS 5.5下编译php时的一些典型错误及解决办法.
[日期:2011-01-06]来源:CentOS作者:CentOS[字体:]
configure: error: xml2-config not found. Please check your libxml2 installation.yum install libxml2-devel
configure: error: Cannot find OpenSSL’syum install openssl-devel
configure: error: Please reinstall the libcurl distribution -easy.h should be in /include/curl/yum install curl-devel
configure: error: libjpeg.(a|so) not foundyum install libjpeg-devel
configure: error: libpng.(a|so) not found.yum install libpng-devel
configure: error: libXpm.(a|so) not found.yum install libXpm-devel
configure: error: freetype.h not found.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.yum install libc-client-devel
configure: error: mcrypt.h not found. Please reinstall libmcrypt.yum install libmcrypt-devel
configure: error: Please reinstall libmhash – I cannot find mhash.hyum install mhash-devel
configure: error: Cannot find MySQL header files under /usr.Note that the MySQL client library is not bundled anymore!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 pspellyum install pspell-devel
configure: error: cannot find mm libraryDownload from wget ftp://ftp.ossp.org/pkg/lib/mm/mm-1.4.2.tar.gzExtract it: tar -zxvf mm-1.4.2.tar.gz./configuremakemake install
configure: error: Cannot find libtidyyum install libtidy-develyum install libtidychange path at configure: ‘–with-tidy=/usr’
configure: error: not found. Please reinstall the expat distribution.yum install expat-devel
configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distributionyum install libxslt-devel
*Tips: To uninstall, just enter:yum remove {package-name}
Finally the compilation of php end with “Thank you for using PHP.”
0
Linux自动压缩备份目录文件与恢复
嵌入式Linux系统下使用DHCP 为开发板自动分配IP地址
相关资讯 CentOS
图片资讯
本文评论 查看全部评论 (0)
评论声明
最新资讯
本周热门
Linux公社简介 – 广告服务 – 网站地图 – 帮助信息 – 联系我们本站(LinuxIDC)所刊载文章不代表同意其说法或描述,仅为提供更多信息,,也不构成任何建议。Copyright © 2006-2011 Linux公社 All rights reserved 浙ICP备06018118号
会让你的心态更平和更坦然,