PHP compilation error handling, missing libraries and completion methods.

Source: Internet
Author: User
Tags install openssl mcrypt
Configure: error: xml2-confignotfound.Pleasecheckyourlibxml2installation.yuminstalllibxml2-develconfigure: error: CannotfindOpenSSL 'syuminstallopenssl-develconfigure: error: Pleasereinstallthelibcurldistribution

Configure: error: xml2-config not found. please check your libxml2 installation. yum install libxml2-devel: configure: error: Cannot find OpenSSL's yum install openssl-devel configure: error: Please reinstall the libcurl distribution-eas

Configure: error: xml2-config not found. Please check your libxml2 installation.
Yum install libxml2-devel

Configure: error: Cannot find OpenSSL's
Yum install openssl-devel

Configure: error: Please reinstall the libcurl distribution-
Easy. h shoshould be in/include/curl/
Yum install curl-devel

Configure: error: libjpeg. (a | so) not found
Yum install libjpeg-devel

Configure: error: libpng. (a | so) not found.
Yum install libpng-devel

Configure: error: libXpm. (a | so) not found.
Yum install libXpm-devel

Configure: error: freetype. h not found.
Yum install freetype-devel

Configure: error: utf8_mime2text () has new signature, but U8T_CANONICAL is missing. This shocould not happen. Check config. log for additional information.
Yum install libc-client-devel

Configure: error: mcrypt. h not found. Please reinstall libmcrypt.
Yum install libmcrypt-devel
P.S. Nima has no such library. Download the source code and compile it yourself:
Http://mcrypt.hellug.gr/lib/

Configure: error: Please reinstall libmhash-I cannot find mhash. h
Yum install mhash-devel

Configure: error: Cannot find MySQL header files under/usr.
Note that the MySQL client library is not bundled anymore!
Yum install mysql-devel

Configure: error: Please reinstall ming distribution. libming. (a | so) not found
-Temp remove the config for '-with-ming =/opt/ming /'

Configure: error: Cannot find pspell
Yum install pspell-devel

Configure: error: cannot find mm library
Download from http://www.ossp.org/pkg/lib/mm/
Wget ftp://ftp.ossp.org/pkg/lib/mm/mm-1.4.2.tar.gz
Extract it: tar-zxvf mm-1.4.2.tar.gz
./Configure
Make
Make install

Configure: error: Cannot find libtidy
Yum install libtidy-devel
Yum install libtidy
Change path at configure: '-with-tidy =/usr'

Configure: error: not found. Please reinstall the expat distribution.
Yum install expat-devel

Configure: error: xslt-config not found. Please reinstall the libxslt> = 1.1.0 distribution
Yum install libxslt-devel

* Tips: To uninstall, just enter:
Yum remove {package-name}

Finally the compilation of php end with "Thank you for using PHP ."

By the way, if there is no cc, it will be white blind: yum install gcc-c ++

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.