For PHP compilation and installation, see error solutions. Common errors during PHP compilation and installation solutions this article mainly introduces common errors during PHP compilation and installation. This article covers most errors during PHP compilation and installation, at the same time, it provides solutions to common errors in PHP compilation and installation.
This article mainly introduces common error solutions for PHP compilation and installation. This article covers most errors during PHP compilation and installation and provides solutions. For more information, see
This article is post on https://coderwall.com/p/ggmpfa
Configure: error: xslt-config not found. Please reinstall the libxslt> = 1.1.0 distribution
The code is as follows:
Yum-y install libxslt-devel
Configure: error: cocould not find net-snmp-config binary. Please check your net-snmp installation.
The code is as follows:
Yum-y install net-snmp-devel
Configure: error: Please reinstall readline-I cannot find readline. h
The code is as follows:
Yum-y install readline-devel
Configure: error: Cannot find pspell
The code is as follows:
Yum-y install aspell-devel
Checking for unixODBC support... configure: error: ODBC header file '/usr/include/sqlext. h' not found!
The code is as follows:
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.
The code is as follows:
Yum-y install libicu-devel
Configure: error: utf8mime2text () has new signature, but U8TCANONICAL is missing. This shoshould not happen. Check config. log for additional information.
The code is as follows:
Yum-y install libc-client-devel
Configure: error: freetype. h not found.
The code is as follows:
Yum-y install freetype-devel
Configure: error: xpm. h not found.
The code is as follows:
Yum-y install libXpm-devel
Configure: error: png. h not found.
The code is as follows:
Yum-y install libpng-devel
Configure: error: vpx_codec.h not found.
The code is as follows:
Yum-y install libvpx-devel
Configure: error: Cannot find enchant
The code is as follows:
Yum-y install enchant-devel
Configure: error: Please reinstall the libcurl distribution-easy. h shoshould be in/include/curl/
The code is as follows:
Yum-y install libcurl-devel
LAOGAO added 20140907:
Configure: error: mcrypt. h not found. Please reinstall libmcrypt.
The code is as follows:
Wget ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/libmcrypt/libmcrypt-2.5.7.tar.gz
Tar zxf libmcrypt-2.5.7.tar.gz
Cd libmcrypt-2.5.7
./Configure
Make & make install
Added 20141003:
Cannot find imap
The code is as follows:
Ln-s/usr/lib64/libc-client.so/usr/lib/libc-client.so
Configure: error: utf8_mime2text () has new signature, but U8T_CANONICAL is missing.
The code is as follows:
Yum-y install libc-client-devel
Cannot find ldap. h
The code is as follows:
Yum-y install openldap
Yum-y install openldap-devel
Configure: error: Cannot find ldap libraries in/usr/lib
The code is as follows:
Cp-frp/usr/lib64/libldap */usr/lib/
Configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path
The code is as follows:
Yum-y install postgresql-devel
Configure: error: Please reinstall the lib curl distribution
The code is as follows:
Yum-y install curl-devel
Configure: error: cocould not find net-snmp-config binary. Please check your net-snmp installation.
The code is as follows:
Yum-y install net-snmp-devel
Configure: error: xslt-config not found. Please reinstall the libxslt> = 1.1.0 distribution
The code is as follows:
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
Fix:
The code is as follows:
Yum-y install bzip2-devel
Checking for cURL support... Yes checking if we shocould use cURL for url streams... No checking for cURL in default path... Not found configure: error: Please reinstall the libcurl distribution-easy. h shoshould be in/include/curl/
Fix:
The code is as follows:
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: cocould not find necessary header file (s ).
Fix:
The code is as follows:
Yum-y install db4-devel
Checking for fabsf... Yes checking for floopen-end... Yes configure: error: Invalid Lib. h not found.
Fix:
The code is as follows:
Yum-y install libjpeg-devel
Checking for fabsf... Yes checking for floopen-end... Yes checking for pai_read_header in-ljpeg... Yes configure: error: png. h not found.
Fix:
The code is as follows:
Yum-y install libpng-devel
Checking for png_write_image in-lpng... Yes If configure fails try-with-xpm-dir =
Configure: error: freetype. h not found.
Fix:
The code is as follows:
Reconfigure your PHP with the following option. -- with-xpm-dir =/usr
Checking for png_write_image in-lpng... Yes configure: error: libXpm. (a | so) not found.
Fix:
The code is as follows:
Yum-y install libXpm-devel
Checking for bind_textdomain_codeset in-lc... Yes checking for gnu mp support... Yes configure: error: Unable to locate gmp. h
Fix:
The code is as follows:
Yum-y install gmp-devel
Checking for utf8_mime2text signature... New checking for U8T_DECOMPOSE... Configure: error: utf8_mime2text () has new signature, but U8T_CANONICAL is missing. This shocould not happen. Check config. log for additional information.
Fix:
The code is as follows:
Yum-y install libc-client-devel
Checking for LDAP support... Yes, shared checking for LDAP Cyrus SASL support... Yes configure: error: Cannot find ldap. h
Fix:
The code is as follows:
Yum-y install openldap-devel
Checking for mysql_set_character_set in-lmysqlclient... Yes checking for mysql_stmt_next_result in-lmysqlclient... No checking for Oracle Database OCI8 support... No checking for unixODBC support... Configure: error: ODBC header file '/usr/include/sqlext. h' not found!
Fix:
The code is as follows:
Yum-y install unixODBC-devel
Checking for PostgreSQL support for PDO... Yes, shared checking for pg_config... Not found configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path
Fix:
The code is as follows:
Yum-y install postgresql-devel
Checking for sqlite 3 support for PDO... Yes, shared checking for PDO implements des... (Cached)/usr/local/src/php-5.3.7/ext checking for sqlite3 files in default path... Not found configure: error: Please reinstall the sqlite3 distribution
Fix:
The code is as follows:
Yum-y install sqlite-devel
Checking for utsname. domainname... Yes checking for PSPELL support... Yes configure: error: Cannot find pspell
Fix:
The code is as follows:
Yum-y install aspell-devel
Checking whether to enable ucd snmp hack... Yes checking for default_store.h... No
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:
The code is as follows:
Yum-y install net-snmp-devel
Checking whether to enable XMLWriter support... Yes, shared checking for xml2-config path... (Cached)/usr/bin/xml2-config checking whether libxml build works... (Cached) yes checking for XSL support... Yes, shared configure: error: xslt-config not found. Please reinstall the libxslt> = 1.1.0 distribution
Fix:
The code is as follows:
Yum-y install libxslt-devel
Configure: error: xml2-config not found. Please check your libxml2 installation.
Fix:
The code is as follows:
Yum-y install libxml2-devel
Checking for PCRE headers location... Configure: error: cocould not find pcre. h in/usr
Fix:
The code is as follows:
Yum-y install pcre-devel
Configure: error: Cannot find MySQL header files under yes. Note that the MySQL client library is not bundled anymore!
Fix:
The code is as follows:
Yum-y install mysql-devel
Checking for unixODBC support... Configure: error: ODBC header file '/usr/include/sqlext. h' not found!
Fix:
The code is as follows:
Yum-y install unixODBC-devel
Checking for pg_config... Not found configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path
Fix:
The code is as follows:
Yum-y install postgresql-devel
Configure: error: Cannot find pspell
Fix:
The code is as follows:
Yum-y install pspell-devel
Configure: error: cocould not find net-snmp-config binary. Please check your net-snmp installation.
Fix:
The code is as follows:
Yum-y install net-snmp-devel
Configure: error: xslt-config not found. Please reinstall the libxslt> = 1.1.0 distribution
Fix:
The code is as follows:
Yum-y install libxslt-devel
This article mainly introduces common error solutions for PHP compilation and installation. This article covers most errors during PHP compilation and installation and provides solutions...