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 should 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 a new signature, but U8t_canonical is missing. This should is 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
Configure: Error: Please reinstall Libmhash–i cannot find MHASH.H
Yum Install Mhash-devel
Configure: error: cannot find MySQL header files under/usr.
Note 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: &NBSP 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: &NBSP 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}
Some typical errors and workarounds for compiling PHP under CentOS.