#### 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. 数据处理压力中的自我拯救
  2. 微生物预测年龄,皮肤比肠道更准确
  3. java里面怎么导入sql文件_java将SQL文件导入到数据库
  4. 【BZOJ】4873: [Shoi2017]寿司餐厅
  5. java实现二叉树的非递归遍历
  6. 纳税服务系统【异常处理、抽取BaseAction】
  7. 41.选项卡插件——tabs
  8. UA池和IP代理池使用
  9. java xml解析_XML的理解以及SAX解析流程
  10. 加强Eclipse代码自动提示的方法
  11. Android 之PackageManager框架
  12. c# datatable用法总结
  13. php 网页转pdf
  14. theme vscode 护眼_vscode的颜色设置(护眼模式)
  15. 吴恩达深度学习笔记_Github标星过万的吴恩达机器学习、深度学习课程笔记,《统计学习方法》代码实现,可以在线阅读了!...
  16. 基于pytorch的BP神经网络模型构建
  17. 西门子200smart与电流表Modbus RTU通讯
  18. Radiology:影像组学:图像不仅仅是图片,它们还是数据
  19. Excel表格转为Latex图表
  20. 做一个九宫格诗词答题小程序 (二)倒计时功能实现

热门文章

  1. SDOI2016R2(怎么可能是解题报告)
  2. 11.频域里的卷积——平滑和模糊,2D例子,低通和高通滤波器_2
  3. @echo off是什么意思_高街、BF、FOG、OS风。。。都是些什么鬼?
  4. 2017.9.25 Xor 失败总结
  5. 【英语学习】【English L06】U07 Jobs L4 What do you think of our service?
  6. 【英语学习】【WOTD】cerebral 释义/词源/示例
  7. uniapp图片自适应_uni-app下input组件基于内容自适应宽度的实现
  8. 更新一波,微信第三方开发平台授权流程
  9. 总结Django一些开发经验
  10. JavaScript 基础(十三):Window对象