CentOS下编译php时的一些典型错误及解决办法.

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

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}

时间: 2024-07-30 03:09:03

CentOS下编译php时的一些典型错误及解决办法.的相关文章

Linux下编译LTIB时找不到zlib的解决办法

最近在使用基于ARM Cortex-A9内核的飞思卡尔i.MX6Q四核处理器开发一款产品,在ubuntu 12.04上编译LTIB时遇到了找不到zlib的问题(在此之前已经安装了必须的各种库文件). 错误信息如下: ============================= [email protected]:~/imx6/L3.0.35_4.1.0_130816_source/source/ltib$ ./ltib ltib cannot be run because one or more

WIN7下安装visualC++2008 redistributable 出现1935错误的解决办法(转自)

转自:http://zhidao.baidu.com/link?url=jylNh_JeANi4wrOMmd4d2i06e_N3QCw7z6BLGiNNNTu1Hc6ADTkUq2PORExKmjtkehr-KMRPaQdBaxhnr91hPa WIN7下安装visualC++2008 redistributable 出现1935错误的解决办法 试了很多种方法都无法解决 caesarblbj | 浏览 5291 次 2013-09-05 21:54 2015-09-22 14:53 最佳答案 W

小胖说事18-------集成支付宝SDK时经常出现的错误以及解决办法

1.打开Demo中的错误 这是路径错误导致 解决办法:在Build Settings 中找到 Library Search Paths ,去掉其中的 /// 2.自己集成支付宝SDK时的错误 这个也是路径错误, 解决办法:在自己工程文件夹里建一个文件夹,随便起什么名字.把支付宝所需要的东西都拷贝进去,然后add files,然后找到TARGETS-Build Settings,在里面找到如下位置 把自己新建的文件夹拖动到这个框里面,再次运行就OK了,如果不行可以再多试几次 3.跳转后出现"系统繁

关于tomcat启动服务单独启动时ngrok报500错误的解决办法

去年开通了微信公众号,每次都是启动eclipse,然后用eclipse里的tomcat来启动服务,然后启动ngrok,这样微信服务就算启动成功了,如下图: ,公众号可以正常返回数据,ngrok也返回的200状态码.但是每次单独用tomcatbin目录下的startup.bat批处理命令启动后,然后再访问,ngrok就会提示500服务器内部错误,但是没有更具体的提示信息. 解决办法:把发送微信请求的地址考出来,再浏览器里执行,浏览器会给出更具体的提示,比如我的微信公号访问的地址是: http://

Linux系统环境下安装dedecms(织梦)提示http500错误的解决办法

碰到一客户安装DEDE提示http500错误,问题已得到完美解决,下面我分享下 这个解决办法,希望有帮助. 故障状态:正常安装dedecms v5.7 gbk提示http500错误Dede安装环境:一个linux环境的php空间. 故障案例分析:http500错误,查询度娘的结果:1.“http 500为内部服务器错误,无法解析程序脚本”2.“http 500 错误是由于服务器运行用户多,导致服务器压力大,无法响应”3.“此错误(HTTP 500 内部服务器错误)意味着您正在访问的网站出现了服务

安装mysql时 Write configuration file 错误的解决办法

原因1:mysql的安装路径不能包含字符或者中文. 原因2:select a server type时选择了Server Machine项,write configuration file报错. 解决办法:修改安装路径重新安装.select a server type选择developer Machine项(开发测试类选用)

php按条件查询的数据分页显示,点击下一页时又列出全部数据的解决办法

其实很简单,只要把表单提交方式改为get方式就行了,然后调用分页函数: function getpage(&$m,$where,$pagesize=10){ $m1=clone $m;//浅复制一个模型 $count = $m->where($where)->count();//连惯操作后会对join等操作进行重置 $m=$m1;//为保持在为定的连惯操作,浅复制一个模型 $p=new Think\Page($count,$pagesize); $p->lastSuffix=fa

CentOS Oracle 报 Environment variable ORACLE_UNQNAME not defined 错误的解决办法

今天在 CentOS 上安装完 Oracle 后,通过命令 "emctl start dbconsole" 启动管理控制台时,报了 "Environment variable ORACLE_UNQNAME not defined" 的错误.问题原因是因为 Oracle 总是获取不到正确的 IP 地址(安装 Oracle 时获取的 IP 地址就是错误的),导致 em 出现问题,只需重新配置 emca 即可.折腾了好久,最后终于把问题给解决了. 环境描述 操作系统: C

使用xcodebuild命令行编译iOS应用遇到的一个错误及解决办法

今天使用自动化生成 iphone App时遇到一个奇怪问题,Xcode编译是好的,但xcodebuild命令行编译iOS编译报下面的错误,在stackoverflow上没有搜到相关的信息,看了搞iOS开发的都不用命令行工具啊.仔细分析错误信息后,找到的解决方法是在工程目录的Frameworks下面删除CoreFoundation.framework /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolc