PHP編譯安裝時常見錯誤解決辦法
PHP編譯安裝時常見錯誤解決辦法
This article is post on https://coderwall.com/p/ggmpfa
configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution 復制代碼 代碼如下: yum -y install net-snmp-devel configure: error: Please reinstall readline - I cannot find readline.h 復制代碼 代碼如下: yum -y install readline-devel configure: error: Cannot find pspell 復制代碼 代碼如下: yum -y install aspell-devel checking for unixODBC support... configure: error: ODBC header file ‘/usr/include/sqlext.h‘ not found! 復制代碼 代碼如下: 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. 復制代碼 代碼如下: 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. 復制代碼 代碼如下: yum -y install libc-client-devel configure: error: freetype.h not found. 復制代碼 代碼如下: yum -y install freetype-devel configure: error: xpm.h not found. 復制代碼 代碼如下: yum -y install libXpm-devel configure: error: png.h not found. 復制代碼 代碼如下: yum -y install libpng-devel configure: error: vpx_codec.h not found. 復制代碼 代碼如下: yum -y install libvpx-devel configure: error: Cannot find enchant 復制代碼 代碼如下: yum -y install enchant-devel configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/ 復制代碼 代碼如下: yum -y install libcurl-devel LAOGAO added 20140907: configure: error: mcrypt.h not found. Please reinstall libmcrypt. Cannot find imap Fix: Fix: Fix: Fix: Fix: configure: error: freetype.h not found. Fix: Fix: Fix: Fix: Fix: Fix: Fix: Fix: checking for kstat_read in -lkstat… no checking for snmp_parse_oid in -lsnmp… no checking for init_snmp in -lsnmp… no configure: error: SNMP sanity check failed. Please check config.log for more information. Fix: Fix: Fix: Fix: Fix: Fix: Fix: Fix: Fix: Fix:
|
PHP編譯安裝時常見錯誤解決辦法