One.
Configure:error:Bundled APR requested but not found at./srclib/. Download and unpack the corresponding APR and Apr-util packages to./srclib/.
Input: Rmp-qa | grep Apr
[Email protected] httpd-2.4.7]# Rpm-qa | grep Apr
Apr-util-ldap-1.3.9-3.el6_0.1.x86_64
Apr-util-1.3.9-3.el6_0.1.x86_64
Apr-1.3.9-3.el6_1.2.x86_64
The reason for the error is that the APR 1.3.9 version only applies to the httpd2.2 version, while the httpd2.4 version of the APR 1.4 version
wget -c http://apache.etoak.com/apr/apr-util-1.4.1.tar.gz
wget -c http://apache.etoak.com/apr/apr-1.4.6.tar.gz
tar-xzvf ./apr-1.4.6.tar.gz
tar-xzvf ./apr-utli-1.4.1.tar.gz
Need to download Apr and Apr-utils and unzip to/srclib/directory, then compile
[Email protected] lamp]# cp-r apr-1.4.6 httpd-2.4.7/srclib/apr
[Email protected] lamp]# cp-r apr-util-1.4.1 httpd-2.4.7/srclib/apr-util
Two.
Configure:error:pcre-config for Libpcre not found. PCRE is required and available from http://pcre.org/
: Http://jaist.dl.sourceforge.net/project/pcre/pcre/Find the latest version
Get file: pcre-8.32.tar.gz
Decompression: TAR-ZXVF pcre-8.32.tar.gz
[Email protected] pcre-8.32]#./configure
[[email protected] pcre-8.32]# make && make install
Three.
Libtool:link:cannot Find the library '/lamp/httpd-2.4.7/srclib/apr-util/xml/expat/libexpat.la ' or unhandled argument ' /lamp/httpd-2.4.7/srclib/apr-util/xml/expat/libexpat.la '
MAKE[2]: * * [libaprutil-1.la] Error 1
MAKE[2]: Leaving directory '/lamp/httpd-2.4.7/srclib/apr-util '
MAKE[1]: * * [install-recursive] Error 1
MAKE[1]: Leaving directory '/lamp/httpd-2.4.7/srclib '
Make: * * [install-recursive] Error 1
I solved the method: http://www.cnblogs.com/ly0199/p/4078963.html
Some systems will appear cannot find the library ' .../srclib/apr-util/xml/expat/libexpat.la ' or unhandled argument ' .../srclib/apr-util/ Xml/expat/libexpat.la ' ERROR, you can add--with-expat=builtin after./configure
Reference URL:
Reference URL: http://blog.sina.com.cn/s/blog_4edd2a190100upv3.html
Error installing Apache