标签:
在这一步,遇到如下错误:
configure: error: xml2-config not found. Please check your libxml2 installation.
解决办法是:
# yum install -y libxml2-devel
还有错误:
configure: error: Cannot find OpenSSL‘s <evp.h>
解决办法是:
# yum install -y openssl openssl-devel
错误:
checking for BZip2 in default path... not found
configure: error: Please reinstall the BZip2 distribution
解决办法:
# yum install -y bzip2 bzip2-devel
错误:
configure: error: png.h not found.
解决办法:
# yum install -y libpng libpng-devel
错误:
configure: error: freetype.h not found.
解决办法:
# yum install -y freetype freetype-devel
错误:
configure: error: mcrypt.h not found. Please reinstall libmcrypt.
解决办法:
# yum install -y epel-release
# yum install -y libmcrypt-devel
因为 centos6 默认的 yum 源没有 libmcrypt-devel 这个包,只能借助 epel 的 yum 源。
configure: error: jpeglib.h not found.错误
安装 yum install libjpeg-devel
标签:
原文地址:http://www.cnblogs.com/wangshaojun/p/5011641.html