1、configure: error: No curses/termcap library found

centos: yum -y install ncurses-devel
ubuntu: apt-get install libncurses5-dev

2、configure: error: xml2-config not found. Please check your libxml2 installation.

centos: yum -y install libxml2 libxml2-devel
ubuntu: apt-get install libxml2-dev

3、configure: error: Cannot find OpenSSL’s

centos: yum -y install openssl-devel
ubuntu: apt-get install pkg-config libssl-dev libsslcommon2-dev

4、configure: error: libjpeg.(a|so) not found

centos: yum -y install gd
centos: yum -y install gd-devel
ubuntu: apt-get install libjpeg-dev

5、configure: error: libpng.(a|so) not found.

ubuntu: apt-get install libpng12-dev

6、configure: error: cannot find output from lex; giving up

centos: yum -y install flex

7、configure: error: mod_deflate has been requested but can not be built due to prerequisite failures

centos: yum -y install zlib-devel openssl-devel
ubuntu: apt-get install zlib1g-dev

8、configure: error: libxpm.(a|so) not found.

centos: yum -y install libxpm-dev
ubuntu: apt-get install libxpm-dev

9、configure: error: freetype.h not found.

centos: yum install freetype-devel
ubuntu: apt-get install libfreetype6-dev

10、configure: error: …No recognized SSL/TLS toolkit detected

centos: yum -y install libssl-dev
ubuntu: apt-get install libssl-dev

11、Configure: error: Please reinstall the BZip2 distribution

centos: yum install bzip2 bzip2-devel
ubuntu: apt-get install bzip2-devel

12、Configure: error: Please reinstall the libcurl distribution – easy.h should be in /include/curl/

centos: yum install curl curl-devel
ubuntu: apt-get install libcurl4-gnutls-dev

13、Configure: error: Unable to locate gmp.h

centos: yum install gmp-devel

14、Configure: error: Cannot find MySQL header files under /usr. Note that the MySQL client library is not bundled anymore!

centos: yum install mysql-devel (For Redhat & Fedora)
ubuntu: apt-get install libmysql++-dev (For Ubuntu)

15、Configure: error: Please reinstall the ncurses distribution

centos: yum install ncurses ncurses-devel

16、Checking for unixODBC support… configure: error: ODBC header file ‘/usr/include/sqlext.h’ not found!

centos: yum install unixODBC-devel

17、Configure: error: Cannot find pspell

centos: yum install pspell-devel

18、configure: error: mcrypt.h not found. Please reinstall libmcrypt.

centos: yum install libmcrypt libmcrypt-devel (For Redhat & Fedora)
ubuntu: apt-get install libmcrypt-dev

19、Configure: error: snmp.h not found. Check your SNMP installation

centos: yum install net-snmp net-snmp-devel

20、开启LDAP服务还需要

centos: yum -y install openldap-devel openldap-servers openldap-clients

21、configure: error: cannot find output from lex; giving up

centos: yum -y install flex

22、configure: error: mod_deflate has been requested but can not be built due to prerequisite failures

centos: yum -y install zlib-devel openssl-devel
ubuntu: apt-get install zlib1g-dev

原地址:http://blog.sina.com.cn/s/blog_75a07c3b0101kcwb.html

PHP-Configure常见错误相关推荐

  1. 编译php时的configure,PHP编译configure时常见错误

    PHP的安装虽然有时候很简单,可是如果应用一多,我们安装起来就很头痛了!出错最多的就是安装PHP扩展的时候了.其实不管是你是Apache类的应用还是Nginx类的,PHP的安装都不是很简单,虽然网上有 ...

  2. PHP编译configure时常见错误(转)

    原文:https://blog.csdn.net/dodott/article/details/49664379 PHP的安装虽然有时候很简单,可是如果应用一多,我们安装起来就很头痛了!出错最多的就是 ...

  3. ubuntu 安装nginx,php,mysql。常见错误解决

    2019独角兽企业重金招聘Python工程师标准>>> sudo apt-get install -y libpcre3 libpcre3-dev zlib1g-dev ./conf ...

  4. PHP编译安装时常见错误解决办法,php编译常见错误

    PHP编译安装时常见错误解决办法,php编译常见错误 1.configure: error: xslt-config not found. Please reinstall the libxslt & ...

  5. php源码编译常见错误解决方案大全

    php源码编译常见错误解决方案大全 http://www.cnlvzi.com/index.php/Index/article/id/143 在CentOS编译PHP5的时候有时会遇到以下的一些错误信 ...

  6. linux libvpx编译安装,linux编译安装时常见错误解决办法

    **configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution** 复 ...

  7. MINIGUI常见错误集及解决方法

    MINIGUI常见错误集及解决方法 个人前言:其中错误1到16是直接转载的一篇博客,在移植MiniGUI过程中碰到的问题远远不止这些,我只是拿这16个先开个头,以后会将我自己在移植MiniGUI的过程 ...

  8. linux源码安装php缺少动态库,php源代码安装常见错误解决办法

    php源代码安装常见错误解决办法 错误:configure: error: libevent >= 1.4.11 could not be found 解决:yum -y install lib ...

  9. linux编译安装的报错,linux编译安装时常见错误解决办法

    This article is post on https://coderwall.com/p/ggmpfa 原文链接:http://www.bkjia.com/PHPjc/1008013.html ...

  10. Hibernate常见错误

    Hibernate常见错误 1.错误:object references an unsaved transient instance - save the transient instance bef ...

最新文章

  1. 2019微信年度报告!!!
  2. java 输出ssl握手信息_使用Java的SSL握手错误
  3. object 'libproxychains.so.3' from LD_PRELOAD cannot be preloaded
  4. mac vscode 实用快捷键
  5. oracle内与外连接,Oracle (内连接)与(外连接)区别
  6. iOS UIScrollView 动画的力学原理
  7. 分布式系统面试题:分布式事务解决方案?
  8. atittit.表单验证的实现方式以及原理本质以及选型以及自定义兼容easyui dsl规则的表单验证
  9. 微信小程序,标签云效果:自定义颜色,并随机显示不同颜色
  10. Unicode 字符编码表
  11. 通过池塘配置ip实验
  12. Python tkinter 设置主题
  13. linux下.txt文件名乱码,Linux下打开txt文件乱码问题解决方案
  14. 超低功耗MCU的选择方法
  15. CCD视觉检测设备如何选择光源
  16. ACCESS MDB数据库“对象的必要权限。请让管理员或安装此对象的人为你设置适当的权限”解决办法
  17. node.js搭建简易CRUD图书系统
  18. 巴黎圣母院重建设计竞赛辟谣!“巴黎心跳”夺冠,仅仅只是自嗨?
  19. 大数据三种主流架构(Lambda、Kappa、IOTA)
  20. js检测数据类型四种办法

热门文章

  1. 【重新安装CAD2020时遇到错误1625:系统策略禁止这个安装,请与系统管理员联系。怎么解决?】
  2. mysql的命令 -ss_ss命令_Linux ss 命令用法详解:获取socket统计信息
  3. MySQL高级篇知识点——性能分析工具的使用
  4. 产品为王,用户至上,服务制胜--读《我的互联网方法论》有感
  5. HDLBits答案13-Sequential:Shift Registers
  6. Stopwatch计时器、秒表 C#
  7. android 游戏 律师,律师模拟器游戏-律师模拟器安卓最新版预约v1.0-游迅网
  8. Rxjava之旅-入门篇
  9. 40多岁转行学了Python,能谋生吗?
  10. 物讯网聚焦:“营改增”扩容提振物流电商信心