At once compile Apache (httpd2.4.12) times wrong, APR not found
This software can be downloaded on the apr.apache.org website (apr-1.5.2.tar.gz); apr-util-1.5.4.tar.gz;
1. Solving Apr not found problem
[Email protected] tools]# cd/home/huarong/tools/apr-1.5.2
[Email protected] apr-1.5.2]#/configure--PREFIX=/USR/LOCAL/APR
[[email protected] apr-1.5.2] #make; Make install
2. Solve Apr-util not found problem
[Email protected] apr-util-1.5.4]# TAR-ZXVF apr-util-1.5.4.tar.gz
[Email protected] apr-util-1.5.4]#/configure--prefix=/usr/local/apr-util--with-apr=/usr/local/apr/bin/ Apr-1-config
[[email protected] apr-util-1.5.4] #make; Make install
3.. /configure still prompts Apr-util not found, increases--WITH-APR=/USR/LOCAL/APR--with-apr-util=/usr/local/apr-util appears after Configure:error : Pcre-config for Libpcre not found. PCRE is required and available from http://pcre.org/
: http://ftp.exim.llorien.org/pcre/
[Email protected] pcre]# tar zxvf pcre-8.10.tar.gz
[Email protected] pcre]# CD pcre-8.10
[Email protected] pcre]#/configure--prefix=/usr/local/pcre
[[email protected] pcre]# make; Make install
4. Compiling Apache
[Email protected] ~]#/configure--prefix=/application/apache2.4.12--enable-default--enable-expires-- Enable-headers--enable-modules=most--enable-so--with-mpm=worker--enable-rewrite --with-apr=/home/huarong/ tools/apr-1.5.2 --with-apr-util=/home/huarong/tools/apr-util-1.5.4 --with-pcre=/usr/local/pcre /
Problem solving.
CentOS 5.5 Deployment of Apache Configure:error:APR not found. Please read the Docume