读书人

configure: error: APR not found. P

发布时间: 2012-07-16 15:44:59 作者: rapoo

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

到apache?下载apr apr-util apr-iconv

到pcre 下载 pcre

具体步骤如下:

1.解决apr not found问题——————>

? ?[root@yahoo test]# tar -zxf apr-1.4.5.tar.gz

?? [root@yahoo apr-1.4.5]# ./configure --prefix=/usr/local/apr

? ?[root@yahoo apr-1.4.5]# make

? ?[root@yahoo apr-1.4.5]# make install

?2.解决APR-util not found问题>>>>

?? [root@yahoo test]# tar -zxf apr-util-1.3.12.tar.gz

?? [root@yahoo apr-util-1.3.12]# ./configure --prefix=/usr/local/apr-util -with- apr=/usr/local/apr/bin/apr-1-config

? [root@yahoo apr-util-1.3.12]# make
? [root@yahoo apr-util-1.3.12]# make install

3.编译Apache

? [root@yahoo httpd-2.3.12-beta]# ./configure --prefix=/usr/local/apache2 --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util/

?[root@yahoo httpd-2.3.12-beta]# make
?[root@yahoo httpd-2.3.12-beta]# make install

读书人网 >Ruby Rails

热点推荐