PHP compile installation Common error resolution, PHP compile common errors

Source: Internet
Author: User
Tags ldap mcrypt snmp sqlite xsl xslt openldap

PHP Compile installation Common error resolution, PHP compile common errors 1, Configure:error:xslt-config not found. Please reinstall the LIBXSLT >= 1.1.0 distribution

Workaround:
  Yum-y Install Libxslt-devel

2, configure:error:Could not find Net-snmp-config binary. Please check your NET-SNMP installation.
  
Workaround:
  Yum-y Install Net-snmp-devel

3, Configure:error:Please Reinstall Readline-i cannot find readline.h
  
Workaround:
  Yum-y Install Readline-devel


4. Configure:error:Cannot Find Pspell
  
Workaround:
  Yum-y Install Aspell-devel

5. Checking for UnixODBC support ... configure:error:ODBC header file '/usr/include/sqlext.h ' not found!
  Workaround:
  
yum-y Install Unixodbc-devel

6, configure:error:Unable to detect ICU prefix Or/usr/bin/icu-config failed. Please verify ICU install prefix and make sure icu-config works.
  Workaround:
  
yum-y Install Libicu-devel

7, Configure:error:utf8mime2text () has a new signature, but U8tcanonical is missing. This should is not happen. Check Config.log For additional information.
   Workaround:
   yum-y Install Libc-client-devel

8, configure:error:freetype.h not found.
   Workaround:
   yum-y Install Freetype-devel

9, configure:error:xpm.h not found.
   Workaround:
  yum-y Install Libxpm-devel

10, configure:error:png.h not found.
   Workaround:
   yum-y Install Libpng-devel

11, configure:error:vpx_codec.h not found.
Workaround:
   yum-y Install Libvpx-devel

12. Configure:error:Cannot Find Enchant
Workaround:
   yum-y Install Enchant-devel

13, Configure:error:Please Reinstall the Libcurl distribution-easy.h should be in/include/curl/
Workaround:
   yum-y Install Libcurl-devel

14, configure:error:mcrypt.h not found. Please reinstall Libmcrypt.
Workaround:
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
15, cannot find IMAP

  Workaround:
  ln-s/usr/lib64/libc-client.so/usr/lib/lio

16, Configure:error:utf8_mime2text () has a new signature, but U8t_canonical is missing.
   Workaround:
yum-y Install Libc-client-devel  

17. Cannot find Ldap.h
   Workaround:
yum-y Install OpenLDAP 
yum-y Install Openldap-devel

18. Configure:error:Cannot Find LDAP Libraries In/usr/lib
   Workaround:
cp-frp/usr/lib64/libldap*/usr/lib/  

19, Configure:error:Cannot find Libpq-fe.h. Please specify correct PostgreSQL installation path
   Workaround:
yum-y Install Postgresql-devel  

20. Configure:error:Please Reinstall the Lib Curl distribution
   Workaround:
yum-y Install Curl-devel  

21, Configure:error:Could not find Net-snmp-config binary. Please check your NET-SNMP installation.
   Workaround:
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
  Workaround:
  Yum-y Install Libxslt-devel

23. Checking for BZIP2 support ... yes checking for BZIP2 in default path ... not found configure:error:Please Rei Nstall the BZIP2 distribution

  Workaround:
  
  Yum-y Install Bzip2-devel

24. Checking for Curl support ... yes checking if we should use CURL for URL streams ... no checking for curl in default path ... no T found configure:error:Please reinstall the Libcurl distribution–easy.h should be in/include/curl/

  Workaround:
  
  Yum-y Install Curl-devel

25, checking for curl_multi_strerror in-lcurl ... yes checking for qdbm support ... no checking for gdbm support ... no checking fo R ndbm Support ... no configure:error:DBA:Could not find necessary header file (s).

  Workaround:
  Yum-y Install Db4-devel

26, checking for FABSF ... yes checking for Floorf ... yes configure:error:jpeglib.h not found.

  Workaround:
  Yum-y Install Libjpeg-devel

27, checking for FABSF ... yes checking for Floorf ... yes checking for Jpeg_read_header in-ljpeg ... yes configure:error:png.h n OT found.

  Workaround:
  Yum-y Install Libpng-devel

28, checking for png_write_image in-lpng ... yes If configure fails try–with-xpm-dir=

Configure:error:freetype.h not found.
  Workaround:
  Yum-y Install Freetype-devel
29, checking for png_write_image in-lpng ... yes configure:error:libXpm. (A|SO) not found.

  Workaround:
  Yum-y Install Libxpm-devel

30. Checking for Bind_textdomain_codeset in-lc ... yes checking for GNU MP support ... yes configure:error:Unable to locate GM P.h

  Workaround:
  Yum-y Install Gmp-devel

31, checking for utf8_mime2text signature ... new checking for u8t_decompose ... configure:error:utf8_mime2text () has new Signa Ture, but U8t_canonical is missing. This should is not happen. Check Config.log For additional information.

  Workaround:
  Yum-y Install Libc-client-devel

32. Checking for LDAP support ... yes, shared checking for LDAP Cyrus SASL support ... yes Configure:error:Cannot find Ldap.h

  Workaround:
  Yum-y Install Openldap-devel

33, checking for Mysql_set_character_set in-lmysqlclient ... yes checking for mysql_stmt_next_result in-lmysqlclient ... no che cking for Oracle Database OCI8 support ... no checking for UnixODBC support ... configure:error:ODBC header file '/usr/include /sqlext.h ' Not found!

  Workaround:
  Yum-y Install Unixodbc-devel

34. Checking for PostgreSQL support for PDO ... yes, shared checking for pg_config ... not found Configure:error:Cannot find Li bpq-fe.h. Specify correct PostgreSQL installation path

  Workaround:
  Yum-y Install Postgresql-devel

35. 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

  Workaround:
  Yum-y Install Sqlite-devel

36, checking for utsname.domainname ... yes checking for Pspell support ... yes Configure:error:Cannot find Pspell

Workaround:
  Yum-y Install Aspell-devel

37, checking for Kstat_read in-lkstat ... no checking for snmp_parse_oid in-lsnmp ... no checking for init_snmp in-lsnmp ... no c Onfigure:error:SNMP sanity check failed. Please check the Config.log for more information.

Workaround:
  Yum-y Install Net-snmp-devel

38. 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

Workaround:
 Yum-y Install Libxslt-devel

39, Configure:error:xml2-config not found. Please check your LIBXML2 installation.

Workaround:
  Yum-y Install Libxml2-devel

40. Checking for PCRE headers location ... configure:error:Could not find pcre.h in/usr

Workaround:
  Yum-y Install Pcre-devel

41, Configure:error:Cannot find MySQL header files under Yes. Note that the MySQL client library isn't bundled anymore!

  Workaround:
  Yum-y Install Mysql-devel

42. Checking for UnixODBC support ... configure:error:ODBC header file '/usr/include/sqlext.h ' not found!

Workaround:
  Yum-y Install Unixodbc-devel

43, checking for pg_config ... not found Configure:error:Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path

Workaround:
  Yum-y Install Postgresql-devel

44. Configure:error:Cannot Find Pspell

Workaround:
  Yum-y Install Pspell-devel

45, Configure:error:Could not find Net-snmp-config binary. Please check your NET-SNMP installation.

Workaround:
  Yum-y Install Net-snmp-devel

46, Configure:error:xslt-config not found. Please reinstall the LIBXSLT >= 1.1.0 distribution

Workaround:
  Yum-y Install Libxslt-devel

PHP compile installation Common error resolution, PHP compile common errors

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.