configure: error: APR-util not found. Please read the documentation

                            APACHE 2.3.7 编译出错 configure: error: APR-util not found.  Please read the documentation 解决办法

wget http://apache.freelamp.com/apr/apr-1.4.2.tar.gz  下载apr

./configure �Cprefix=/usr/local/web/apr

make

make  install

wget http://apache.freelamp.com/apr/apr-util-1.3.10.tar.gz

./configure �Cprefix=/usr/local/web/apr-util �Cwith-apr=/usr/local/web/apr

make

make install

接下来从新编译apache

./configure �Cprefix=/usr/local/web/apache �Cenable-rewrite �Cenable-so �Cwith-apr=/usr/local/web/apr �Cwith-apr-util=/usr/local/web/apr-util

又出错!!!

configure: error: pcre-config for libpcre not found. PCRE is required and available from http://pcre.org/

wget http://cdnetworks-kr-2.dl.sourceforge.net/project/pcre/pcre/8.10/pcre-8.10.tar.gz

./configure �Cprefix=/usr/local/web/pcre

./libtool: line 990: g++: command not found

呵呵 又出错了 我无语了啊 要是没出错那就跳过这一步骤了

若出错执行下面的命令了

 yum -y install gcc+ gcc-c++

在执行./configure �Cprefix=/usr/local/web/pcre

make

make install

在编译APACHE

./configure �Cprefix=/usr/local/web/apache �Cenable-rewrite �Cenable-so �Cwith-apr=/usr/local/web/apr �Cwith-apr-util=/usr/local/web/apr-util �Cwith-pcre=/usr/local/web/pcre

make

make install

ok了


你可能感兴趣的:(documentation,read,apr-util,the,error:,Please,not,found.,configure:)