PHP编写翻译configure时会现身的大错特错

PHP编写翻译configure时习认为常错误的总计

正文(摘自网络)计算了一些分布的configure错误新闻和解决这么些错误的经历。
1、configure: error: No curses/termcap library
found
网络有的说法是:–with-named-curses-libs=/usr/lib/libncursesw.so.5其实是不对的,即使能灭绝configure的荒唐,但是make的时候会唤起错误,准确的做法应该是centos:
yum -y install ncurses-develdebian: apt-get install libncurses5-dev

PHP的设置即便奇迹一点也不细略,可是假诺选用意气风发多,大家设置起来就很恶感了!出错最多的便是设置PHP扩张的时候了。其实无论是是您是Apache类的行使依然Nginx类的,PHP的安装都不是很简短,就算网络有超多configure参数,不过那不分明是相符你的,因为繁多都一贯关联着您的系统版本和基本功。由此要团结切身不断的调节和测验,工夫完全安装成功。
本文化总同盟结了有个别数见不鲜的configure错误音讯和化解那么些不当的经历。

2、configure: error: xml2-config not
found.
Please check your libxml2 installation.centos: yum -y install libxml2
libxml2-develdebian: apt-get install libxml2-dev
3、configure: error: Cannot find OpenSSL’scentos: yum -y install
openssl-devel

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

4、configure: error: libjpeg.(a|so) not
foundcentos:
yum -y install gdcentos: yum -y install gd-develdebian: apt-get install
libjpeg-dev

网络有的说法是:–with-named-curses-libs=/usr/lib/libncursesw.so.5
其实是难堪的,尽管能消除configure的大谬不然,不过make的时候会唤起错误,正确的做法应该是

5、configure: error: libpng.(a|so) not found.apt-get install
libpng12-dev

centos: yum -y install ncurses-develdebian: apt-get install libncurses5-dev

6、configure: error: cannot find output from lex; giving upyum -y
install flex

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

7、configure: error: mod_deflate has been requested but can not be
built due to prerequisite failurescentos: yum -y install zlib-devel
openssl-develdebian: apt-get install zlib1g-dev

centos: yum -y install libxml2 libxml2-develdebian : apt-get install libxml2-dev

8、configure: error: libxpm.(a|so) not found.centos: yum -y install
libxpm-devdebian: apt-get install libxpm-dev

3、configure: error: Cannot find OpenSSL’s

9、configure: error: freetype.h not found.centos: yum install
freetype-develdebian: apt-get install libfreetype6-dev

centos: yum -y install openssl-devel

10、configure: error: …No recognized SSL/TLS toolkit detectedcentos: yum
-y install libssl-devdebian: apt-get install libssl-dev

4、configure: error: libjpeg. not found

11、Configure: error: Please reinstall the BZip2 distributioncentos: yum
install bzip2 bzip2-develdebian: apt-get install bzip2-devel

centos: yum -y install gdcentos: yum -y install gd-develdebian: apt-get install libjpeg-dev

12、Configure: error: Please reinstall the libcurl distribution – easy.h
should be in /include/curl/centos: yum install curl curl-devel (For
Redhat & Fedora)# install libcurl4-gnutls-dev (For Ubuntu)

5、configure: error: libpng. not found.

13、Configure: error: Unable to locate gmp.hcentos: yum install
gmp-devel

apt-get install libpng12-dev

14、Configure: error: Cannot find MySQL header files under /usr. Note
that the MySQL client library is not bundled anymore!yum install
mysql-devel (For Redhat & Fedora)# apt-get install libmysql++-dev (For
Ubuntu)

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

15、Configure: error: Please reinstall the ncurses distributionSolutions
:centos: yum install ncurses ncurses-devel

yum -y install flex

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

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

17、Configure: error: Cannot find pspellSolutions :centos: yum install
pspell-devel

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

18、configure: error: mcrypt.h not
found.
Please reinstall libmcrypt.Solutions :yum install libmcrypt
libmcrypt-devel (For Redhat & Fedora)# apt-get install libmcrypt-dev

8、configure: error: libxpm. not found.

19、Configure: error: snmp.h not
found.
Check your SNMP installation.Solutions :yum install net-snmp
net-snmp-devel

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

20、开启LDAP服务还索要yum -y install openldap-devel openldap-servers
openldap-clients

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

21、configure: error: cannot find output from lex; giving upcentos: yum
-y install flex

centos: yum install freetype-develdebian: apt-get install libfreetype6-dev

22、configure: error: mod_deflate has been requested but can not be
built due to prerequisite failurescentos: yum -y install zlib-devel
openssl-develdebian: apt-get install zlib1g-dev

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

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

11、Configure: error: Please reinstall the BZip2 distribution

centos: yum install bzip2 bzip2-develdebian: 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 # 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!

yum install mysql-devel # apt-get install libmysql++-dev 

15、Configure: error: Please reinstall the ncurses distribution

Solutions :centos: yum install ncurses ncurses-devel

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

Solutions :centos: yum install unixODBC-devel

17、Configure: error: Cannot find pspell

Solutions :centos: yum install pspell-devel

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

Solutions :yum install libmcrypt libmcrypt-devel # apt-get install libmcrypt-dev

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

Solutions :yum install net-snmp net-snmp-devel

20、开启LDAP服务还索要

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-develdebian: apt-get install zlib1g-dev

如上就是php编写翻译configure不足为怪错误的计算,如有疑问请留言大概到本站社区交换座谈,谢谢阅读,希望能扶助到咱们,多谢我们对本站
的支撑!

发表评论

电子邮件地址不会被公开。 必填项已用*标注