install httpd

tar -zxvf httpd-2.4.4.tar.gz
cd httpd-2.4.4
./configure --prefix=/apache/home/openfire/httpd24
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
configure:
configure: Configuring Apache Portable Runtime library...
configure:
checking for APR... no
configure: error: APR not found. Please read the documentation.

===================================================


tar -zxf apr-1.4.6.tar.gz
./configure --prefix=/usr/local/apr
make
make install

tar -zxf apr-util-1.5.2.tar.gz
./configure --prefix=/usr/local/apr-util -with- apr=/usr/local/apr/bin/apr-1-config
make
make install

原文地址:https://www.cnblogs.com/ShepherdIsland/p/3144005.html