Welcome 微信登录

首页 / 操作系统 / Linux / CentOS 5.5下编译php时的一些典型错误及解决办法.

configure: error: xml2-config not found. Please check your libxml2 installation.
yum install libxml2-develconfigure: error: Cannot find OpenSSL’s
yum install openssl-develconfigure: error: Please reinstall the libcurl distribution -
easy.h should be in /include/curl/
yum install curl-develconfigure: error: libjpeg.(a|so) not found
yum install libjpeg-develconfigure: error: libpng.(a|so) not found.
yum install libpng-develconfigure: error: libXpm.(a|so) not found.
yum install libXpm-develconfigure: error: freetype.h not found.
yum install freetype-develconfigure: 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-develconfigure: error: mcrypt.h not found. Please reinstall libmcrypt.
yum install libmcrypt-develconfigure: error: Please reinstall libmhash – I cannot find mhash.h
yum install mhash-develconfigure: error: Cannot find MySQL header files under /usr.
Note that the MySQL client library is not bundled anymore!
yum install mysql-develconfigure: error: Please reinstall ming distribution. libming.(a|so) not found
- temp remove the config for ‘–with-ming=/opt/ming/’configure: error: Cannot find pspell
yum install pspell-develconfigure: error: cannot find mm library
Download from http://www.ossp.org/pkg/lib/mm/
wget ftp://ftp.ossp.org/pkg/lib/mm/mm-1.4.2.tar.gz
Extract it:  tar -zxvf mm-1.4.2.tar.gz
./configure
make
make installconfigure: error: Cannot find libtidy
yum install libtidy-devel
yum install libtidy
change path at configure: ‘–with-tidy=/usr’configure: error: not found. Please reinstall the expat distribution.
yum install expat-develconfigure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution
yum install libxslt-devel*Tips: To uninstall, just enter:
yum remove {package-name}Finally the compilation of php end with “Thank you for using PHP.”Linux自动压缩备份目录文件与恢复嵌入式Linux系统下使用DHCP 为开发板自动分配IP地址相关资讯      CentOS 
  • CentOS虚拟机NAT静态IP设置  (07/04/2013 17:09:32)
  • CentOS 格式化新硬盘并设置开机自  (07/04/2013 16:50:50)
  • 服务器为何用CentOS不用Ubnutu  (02/24/2013 15:19:10)
  • CentOS /usr/libexec/gconf-sanity  (07/04/2013 17:07:42)
  • 为什么我们选择CentOS而不是Debian  (06/06/2013 06:19:40)
  • 在CentOS下搭建Android 开发环境  (02/18/2013 09:14:14)
本文评论 查看全部评论 (0)
表情: 姓名: 字数