centos 一些出错笔记

configure: error: xml2-config not found

yum -y install libxml2-devel

debian:apt-get install libxml2-dev


configure: error: Cannot find OpenSSL’s 

yum -y install openssl-devel


configure: error: libjpeg.(a|so) not found

yum -y install gd

yum -y install gd-devel

debian:apt-get install libjpeg-dev


configure: error: libpng.(a|so) not found.

apt-get install libpng12-dev


configure: error: cannot find output from lex; giving up

yum -y install flex


configure: error: mod_deflate has been requested but can not be built due to prerequisite failures

yum -y install zlib-devel openssl-devel

debian:apt-get install zlib1g-dev


configure: error: libXpm.(a|so) not found.

apt-get install libxpm-dev


onfigure: error: freetype.h not found.

yum install freetype-devel


configure: error: …No recognized SSL/TLS toolkit detected

apt-get install libssl-dev


你可能感兴趣的:(yum)