#### 1.环境

yum安装必要工具(能解决比编译遇到到基本问题):

`yum -y install gcc gcc-c++ make cmake automake autoconf kernel-devel ncurses-devel libxml2-devel `

`yum -y install openssl-devel curl-devel libjpeg-devel libpng-devel pcre-devel libtool-libs freetype-devel gd`

`yum -y install zlib-devel file bison patch mlocate flex diffutils readline-devel glibc-devel glib2-devel `

`yum -y install bzip2-devel gettext-devel libcap-devel libmcrypt-devel openldap openldap-devellibxslt-devel`

#### 2.常见问题

* 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 libraryDownload from http://www.ossp.org/pkg/lib/mm/

~~~

wget ftp://ftp.ossp.org/pkg/lib/mm/mm-1.4.2.tar.gz

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}**

centos php 显示错误提示,Centos下编译php的典型错误及解决相关推荐

  1. [C++]Linux之Ubuntu下编译C程序出现错误:“ stray ‘\302‘或者‘\240‘ in program”的解决方案

    [C++]Linux之Ubuntu下编译C程序出现错误:" stray '\302'或者'\240' in program"的解决方案 参考文章: (1)[C++]Linux之Ub ...

  2. 雷塞SMC304系列控制器VC6.0例程在VS2015下编译遇到的若干问题及解决办法

    雷塞SMC304系列控制器VC6.0例程在VS2015下编译遇到的若干问题及解决办法 标签(空格分隔): 雷塞 SM304 WIN10 VS2015 最近由于导师要求,负责喷涂机器人的控制部分,接触到 ...

  3. linux 中的代码如何编译错误提示,Ubuntu 下GCC编译代码错误提示没有system.h和conio.h,如何得到这两个文件...

    mudaizi12345 于 2015-01-23 23:42:50发表: very good mudaizi12345 于 2015-01-23 20:36:00发表: 路过试一试 菜菜123 于 ...

  4. c语言编译常见错误提示,c语言编译常见错误

    c语言编译常见错误 (2012-04-17 21:33:53) 标签: 杂谈 分类: 计算机 1."c" not an argument in function sum 该标识符不 ...

  5. idea错误提示不明显_淘宝镜像错误导致vue项目一系列异常

    收拾电脑上的项目,打开一个vue项目的时候发现各种问题,记录一下,供大家参考,避免踩坑. 1.打开idea之后,遇到的两个问题. 新建一个项目的时候,项目提示的这个 indexing paused d ...

  6. zend studio php 错误提示,win7启动Zend Studio弹出错误提示?查看解决方法

    WZend Studio是很多技术人员常用的工具,用于开发PHP,功能也非常强大,小编有分享过一篇 win7系统安装zendstudio的方法 .但在使用中也遇到了一些问题.比如最近有一用户在系统 中 ...

  7. gcc环境下编译找不到conio.h解决方法

    ubuntu下编译遇到 conio.h找不到文件的问题, conio.h非标准库,在windows平台可以,在linux平台用curses.h    ubantu下输入    sudo apt-get ...

  8. 重装系统时,出现错误提示:CDBOOT:Could'd find NTLDR的解决办法

    老毛桃重装系统的过程中,出现错误信息如图: 2,按如下步骤解决 1)在老毛桃运行时,打开橙色的分区工具,看ESP分区是否被破坏,如图: 2,重启电脑进入BOIS,选择BOOT菜单,将Launch CS ...

  9. 为什么安装了python在 cmd不显示_CMD提示Python不是内部或外部命令的解决方法

    CMD提示Python不是内部或外部命令的解决方法(配置Python环境) 工具/原料 win7 Python2.7 方法/步骤 1 电脑已安装Python,但在cmd命令中输入Python,提示:P ...

最新文章

  1. Nature:“巨型原子”使芯片同时处理和收发量子信息成为可能
  2. python-01实现考勤表添加与删除
  3. observeOn()与subscribeOn()的详解
  4. 笔试训练第二次知识点汇总
  5. stl源码剖析_STL之set源码剖析
  6. android 居右属性,使用layoutDirection属性设置布局靠左或靠右
  7. Oracle 创建表空间,用户,赋值(简装)
  8. Spring源码分析-如何获取Bean对象
  9. 查看java线程是否退出_[原创]IDA调试阻止java线程异常退出
  10. 使用 windows命令和iconv.exe批量转换文件编码
  11. Java常用api和操作必背
  12. Android移动应用基础教程【广播机制】
  13. 【流媒体服务】海康摄像头RTSP视频推流、转码、拉流、直播综合应用(六):【1】VLC+FFMPEG+Nginx实现RTSP到RTMP网页直播
  14. N、NP、NPC问题分析总结
  15. 安卓手机如何复制粘贴不重叠_多台电脑安卓手机跨设备复制粘贴利器——Clipbrd...
  16. 【Win10】【开始菜单打不开】任务栏修复
  17. 计算机网络课程主机号怎么看,已知Ip地址_子网掩码如何计算子网号、主机号(收集整理)...
  18. Color Constancy Datasets
  19. PPT文件不能编辑可以这样解决
  20. 每日刷题记录 (八)

热门文章

  1. 17.立体匹配——介绍,匹配,寻找最佳匹配 Matlab实战_1
  2. js html5是什么意思,javascript是什么意思
  3. vs2017 linux工程设置头文件,使用Visual Studio 2017作为Linux C++开发工具
  4. C#实现图(Graph)
  5. 【和60】软件即服务的三重境界
  6. python 怎么调用 矩阵 第几行_python工厂第19层 多重列表1
  7. jupyter notebook 某个cell 一直在运行
  8. java net time_建了服可是老是提示java.net.SocketTimeoutException: Read time
  9. 基于 FFMPEG 的音频编解码(一):Hello FFMPEG,安装与编译
  10. Karplus-Strong 算法简单介绍和实现