手记

PHP编译安装错误锦集


configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution

yum install libxslt-devel

configure: error: Could not find net-snmp-config binary. Please check your net-snmp installation.

yum install net-snmp-devel

configure: error: Please reinstall readline - I cannot find readline.h

yum install readline-devel

configure: error: Cannot find pspell

yum install aspell-devel

checking for unixODBC support... configure: error: ODBC header file '/usr/include/sqlext.h' not found!

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

yum install libicu-devel

configure: error: utf8mime2text() has new signature, but U8TCANONICAL is missing. This should not happen. Check config.log for additional information.

yum install libc-client-devel

configure: error: freetype.h not found.

yum install freetype-devel

configure: error: xpm.h not found.

yum install libXpm-devel

configure: error: png.h not found.

yum install libpng-devel

configure: error: vpx_codec.h not found.

yum install libvpx-devel

configure fails try --with-vpx-dir=<DIR>

yum -y install libpng-devel

configure: error: Cannot find enchant

yum install enchant-devel

configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/

yum install libcurl-devel

configure: error: mcrypt.h not found. Please reinstall libmcrypt.

On Centos:  sudo yum install libmcrypt-devel  注意此时和libmcrypt这两个包的区别。







0人推荐
随时随地看视频
慕课网APP