Linux Installation on Apache when , Compilation error :
checking for APR... noconfigure: error: APR not found . Please read the documentation
install APR, Download the required packages , If the computer can access the Internet at this time , Execute the command to download the file :
wget http://archive.apache.org/dist/apr/apr-1.4.5.tar.gzwget http://archive.apache.org/dist/apr/apr-util-1.3.12.tar.gzwget http://jaist.dl.sourceforge.net/project/pcre/pcre/8.10/pcre-8.10.zip
apr not found problem
tar -zxf apr-1.4.5.tar.gzcd apr-1.4.5./configure --prefix=/usr/local/aprmake && make install
APR-util not found problem
tar -zxf apr-util-1.3.12.tar.gzcd apr-util-1.3.12./configure --prefix=/usr/local/apr-util -with-apr=/usr/local/apr/bin/apr-1-configmake && make install
pcre problem
unzip -o pcre-8.10.zipcd pcre-8.10./configure --prefix=/usr/local/pcremake && make install
Finally compile Apache When combined with :
--with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util/ --with-pcre=/usr/local/pcre
for example :
./configure --prefix=/usr/local/apache2 --enable-so --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util/ --with-pcre=/usr/local/pcre
download apr-1.4.5.tar.gz
download apr-util-1.3.12.tar.gz
download pcre-8.10.zip
I recommend you to read more about “ linux apache compile apr install ” The article