编译PHP遇到的错误处理,缺少的库及补全办法。
来源:互联网 发布:360mac版 dmg 编辑:程序博客网 时间:2024/06/08 00:34
configure: error: xml2-config not found. Please check your libxml2 installation.
yum install libxml2-devel
configure: error: Cannot find OpenSSL’s
yum 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 found
yum 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
P.S. 尼玛官方源已经没有这个库了,自己下载源码编译吧:
http://mcrypt.hellug.gr/lib/
configure: error: Please reinstall libmhash – I cannot find mhash.h
yum 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 pspell
yum install pspell-devel
configure: 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 install
configure: 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-devel
configure: 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.”
对了,在所有之间,如果没有cc就白瞎了:yum install gcc gcc-c++
- 编译PHP遇到的错误处理,缺少的库及补全办法。
- 编译全攻略-编译器处理及LNK错误的解决方法
- 缺少动态库socket的编译错误
- 缺少动态库iconv的编译错误
- linux(ubuntu)编译busybox遇到的问题处理办法
- myeclipse中遇到tomcat jdk name错误处理的办法
- 上网遇到恶意网页时的现象及处理办法
- extjs4框架调试时遇到的问题及处理办法。
- 编译全攻略-编译器处理及LNK错误的解决方法
- 编译全攻略-编译器处理及LNK错误的解决方法(2)
- C++编译全攻略-编译器处理及LNK错误的解决方法(ZZ)
- 使用python中常见的错误及处理办法(1)
- 编译遇到的错误
- 遇到的编译错误
- 遇到的编译错误
- 关于修改VS2012代码补全快捷键的办法
- Linux缺少动态库的办法
- phpcms在centos服务器中安装所遇到的问题及相关漏洞补全
- 内核态的socket编程
- ubuntu 安装拼音
- Tomcat 服务无法启动 找不到指定的模块
- 中文分词资料
- excel 2007数据透视表教程
- 编译PHP遇到的错误处理,缺少的库及补全办法。
- 二叉树转双向链表
- Listener refused the connection with the following error 错误解
- android 实现代码关机
- Mac OS X Lion 进入资源库的方法
- UVA 507 - Jill Rides Again
- 【Win7系统还原让误删文件恢复】
- setjmp longjmp
- 博客第一篇