Centos7中PHP编译安装时常见编译错误解决(一)

[ CentOS ] 2020-01-13 22:01:07 杨歆 402
# configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution
# 安装包
[root@centos ~]# yum -y install libxslt-devel

#configure: error: Could not find net-snmp-config binary. Please check your net-snmp installation.
#安装包
[root@centos ~]# yum -y install net-snmp-devel

# configure: error: Please reinstall readline - I cannot find readline.h
# 安装包
[root@centos ~]# yum -y install readline-devel

# configure: error: Cannot find pspell
# 安装包
[root@centos ~]# yum -y install aspell-devel

# checking for unixODBC support... configure: error: ODBC header file '/usr/include/sqlext.h' not found!
# 安装包
[root@centos ~]# yum -y install unixODBC-devel

# configure: error: Unable to detect ICU prefix or /usr/bin/icu-config failed. Please verify ICU install prefix and make sure icu-config works.
# 安装包
[root@centos ~]# yum -y install libicu-devel

# configure: error: utf8mime2text() has new signature, but U8TCANONICAL is missing. This should not happen. 
# Check config.log for additional information.
# 安装包
[root@centos ~]# yum -y install libc-client-devel

# configure: error: freetype.h not found.
# 安装包
[root@centos ~]# yum -y install freetype-devel

# configure: error: xpm.h not found.
# 安装包
[root@centos ~]# yum -y install libXpm-devel

# configure: error: png.h not found.
# 安装包
[root@centos ~]# yum -y install libpng-devel

# configure: error: vpx_codec.h not found.
# 安装包
[root@centos ~]# yum -y install libvpx-devel

# configure: error: Cannot find enchant
# 安装包
[root@centos ~]# yum -y install enchant-devel

# configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/
# 安装包
[root@centos ~]# yum -y install libcurl-devel

# configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing.
# 安装包
[root@centos ~]# yum -y install libc-client-devel

# configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path
# 安装包
[root@centos ~]# yum -y install postgresql-devel

# configure: error: Please reinstall the lib curl distribution
# 安装包
[root@centos ~]# yum -y install curl-devel

# configure: error: Could not find net-snmp-config binary. Please check your net-snmp installation.
# 安装包
[root@centos ~]# yum -y install net-snmp-devel

# configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution
# 安装包
[root@centos ~]# yum -y install libxslt-devel

# checking for BZip2 support… yes checking for BZip2 in default path… not found configure: error: Please reinstall the BZip2 distribution
# 安装包
[root@centos ~]# yum -y install bzip2-devel

# checking for cURL support… yes checking if we should use cURL for url streams… no checking for cURL in default path… not found 
# configure: error: Please reinstall the libcurl distribution – easy.h should be in/include/curl/
# 安装包
[root@centos ~]# yum -y install curl-devel

# checking for curl_multi_strerror in -lcurl… yes checking for QDBM support… no checking for GDBM support… no checking for NDBM support… no 
# configure: error: DBA: Could not find necessary header file(s).
# 安装包
[root@centos ~]# yum -y install db4-devel
支付宝支付
打赏
微信支付

联系我吧

有些人是会淡出你的生活的,有些人刻意不再联系,是因为你知道ta不需要你,或者从一开始就不是同一个初衷在一起度过,不主动联系很久也不见一次面,所有的感情也罢,都会败给时间和距离。因为时间是最无情,给你后悔的时刻却不会给你改过重来的机会。

位置

成都市 四川省 中国

联系电话

028-6406-0000

邮箱

y139w@163.com

企鹅

27572048

网址

https://www.weania.com