Php
Common error resolution when compiling and installing PHP [go]
This article are 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:Could 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 a new signature, but U8tcanonical is missing. This should is 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 should 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 a 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:Could 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 B ZIP2 Distribution
Fix:
The code is as follows:
yum-y Install Bzip2-devel
Checking for Curl support ... yes checking if we should use the Curl for URL streams ... no checking for curl in default path ... n OT found configure:error:Please reinstall the Libcurl distribution–easy.h should 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 f or NDBM support ... no configure:error:DBA:Could not find necessary header file (s).
Fix:
The code is as follows:
yum-y Install Db4-devel
Checking for FABSF ... yes checking for Floorf ... yes configure:error:jpeglib.h not found.
Fix:
The code is as follows:
yum-y Install Libjpeg-devel
Checking for FABSF ... yes checking for Floorf ... yes checking for jpeg_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 () have new sign Ature, but U8t_canonical is missing. This should is 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< /c0>
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 ch Ecking for Oracle Database OCI8 support ... no checking for UnixODBC support ... configure:error:ODBC header file '/usr/includ E/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 L ibpq-fe.h. 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 includes ... (cached)/usr/local/src/php-5.3.7/ext checking for sqlite3 files in default path ... not found Configure:error:Please reins Tall 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 the 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:Could 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 isn't 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:Could 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
Common Errors in PHP compilation