In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article will explain in detail what the common error messages are in the process of compiling CentOS and PHP5, and the editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
Some of the following error messages are sometimes encountered when CentOS compiles PHP5, which can basically be solved by installing the corresponding libraries in yum.
Here are some specific solutions:
*
Checking for BZip2 support... Yes checking for BZip2 in default path... Not found configure: error: Please reinstall the BZip2 distribution
Solution: yum 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/
Solution: yum 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).
Solution: yum install db4-devel
*
Checking for fabsf... Yes checking for floorf... Yes configure: error: jpeglib.h not found.
Solution: yum 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.
Solution: yum install libpng-devel
*
Checking for png_write_p_w_picpath in-lpng... Yes If configure fails try-with-xpm-dir=
Configure: error: freetype.h not found.
Solution: Reconfigure your PHP with the following option. -- with-xpm-dir=/usr
*
Checking for png_write_p_w_picpath in-lpng... Yes configure: error: libXpm. (a | so) not found.
Solution: yum install libXpm-devel
*
Checking for bind_textdomain_codeset in-lc... Yes checking for GNU MP support... Yes configure: error: Unable to locate gmp.h
Solution: yum 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 should not happen. Check config.log for additional information.
Solution: yum install libc-client-devel
*
Checking for LDAP support... Yes, shared checking for LDAP Cyrus SASL support... Yes configure: error: Cannot find ldap.h
Solution: yum 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!
Solution: yum 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
Solution: yum 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 reinstall the sqlite3 distribution
Solution: yum install sqlite-devel
*
Checking for utsname.domainname... Yes checking for PSPELL support... Yes configure: error: Cannot find pspell
Solution: yum 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.
Solution: yum 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
Solution: yum install libxslt-devel
*
Configure: error: xml2-config not found. Please check your libxml2 installation.
Solution: yum install libxml2-devel
*
Checking for PCRE headers location... Configure: error: Could not find pcre.h in / usr
Solution: yum install pcre-devel
*
Configure: error: Cannot find MySQL header files under yes. Note that the MySQL client library is not bundled anymore!
Solution: yum install mysql-devel
*
Checking for unixODBC support... Configure: error: ODBC header file'/ usr/include/sqlext.h' not found!
Solution: yum install unixODBC-devel
*
Checking for pg_config... Not found configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path
Solution: yum install postgresql-devel
*
Configure: error: Cannot find pspell
Solution: yum install pspell-devel
*
Configure: error: Could not find net-snmp-config binary. Please check your net-snmp installation.
Solution: yum install net-snmp-devel
*
Configure: error: xslt-config not found. Please reinstall the libxslt > = 1.1.0 distribution
Solution: yum install libxslt-devel
This is the end of this article on "what are the common error messages in the process of CentOS compiling PHP5". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it out for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.