【问题一】在安装apr-utli时,make时出现以下错误
[[email protected] apr-util-1.6.0]# make
make[1]: Entering directory `/home/qiu/tools/apr-util-1.6.0‘
/bin/sh /usr/local/apr/build-1/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/home/qiu/tools/apr-util-1.6.0/include -I/home/qiu/tools/apr-util-1.6.0/include/private -I/usr/local/apr/include/apr-1 -o xml/apr_xml.lo -c xml/apr_xml.c && touch xml/apr_xml.lo
xml/apr_xml.c:35:19: fatal error: expat.h: No such file or directory
#include <expat.h>
^
compilation terminated.
make[1]: *** [xml/apr_xml.lo] Error 1
make[1]: Leaving directory `/home/qiu/tools/apr-util-1.6.0‘
【解决办法】:yum -y install expat-devel
【问题二】在htthd目录下configure时出现以下错误
checking whether to enable mod_deflate... configure: error: mod_deflate has been requested but can not be built due to prerequisite failures
【解决办法】
yum install zlib-devel
【问题三】在htthd目录下configure时出现以下错误
configure: error: ...No recognized SSL/TLS toolkit detected
【解决办法】
yum -y install openssl openssl-devel