Apache编译过程报错问题解决方法:
configure: error: APR not found. Please read the documentation
解决:
cd /tools
wget http://archive.apache.org/dist/apr/apr-1.4.5.tar.gz
tar -xzvf apr-1.4.5.tar.gz
cd /tools/apr-1.4.5/
./configure –prefix=/usr/local/apr
make && make install
configure: error: APR-util not found. Please read the documentation.
解决:
cd /tools
wget http://archive.apache.org/dist/apr/apr-util-1.3.12.tar.gz
tar -xzvf apr-1.4.5.tar.gz
cd apr-util-1.3.12/
./configure –prefix=/usr/local/apr-util -with- apr=/usr/local/apr/bin/apr-1-config
make && make install
configure: error: pcre not found. Please read the documentation.
解决:
cd /tools
wget http://jaist.dl.sourceforge.net/project/pcre/pcre/8.10/pcre-8.10.zip
cd pcre-8.10/
./configure –prefix=/usr/local/pcre
make && make install