apache http2.4.46 ./configure的时候,出现 APR-util not found

备注:获取最新软件包http://apr.apache.org/download.cgi

问题现象:
Apache http 2.4.46 ./configure的时候,出现 APR-util not found

解决办法:

# cd /opt
# wget -S https://mirror.bit.edu.cn/apache//apr/apr-util-1.6.1.tar.gz
# tar -zxf apr-util-1.6.1.tar.gz
# cd apr-util-1.6.1/
# ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr
# make && make install

再重新编译http即可./configure --prefix=/usr/local/httpd --enable-so --enable-rewrite --enable-charset-lite --enable-cgi --enable-version --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util

你可能感兴趣的:(运维,linux,apache)