configure: error: 关于Apache安装配置时出的错误:

回复 收藏
1、安装APR:

[root@web1 httpd-2.2.19]# cd srclib/apr

[root@web1 apr]# ./configure --prefix=/usr/local/apr            

[root@web1 apr]# make && make install

源码安装Apache,报错:Cannot use an external APR with the bundled APR-util

2、安装APR-util

[root@web1 httpd-2.2.19]# cd srclib/apr-util

[root@web1 httpd-2.2.19]# ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr

[root@web1 httpd-2.2.19]# make && make install

源码安装Apache,报错:Cannot use an external APR with the bundled APR-util

3、安装apache,加入参数(--with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util)

Cannot use an external APR with the bundled APR-util

[root@web1 httpd-2.2.19]# ./configure --prefix=/opt/apache --enable-deflate --enable-expires --enable-headers --enable-modules=most --enable-so --with-mpm=worker --enable-rewrite --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util

源码安装Apache,报错:Cannot use an external APR with the bundled APR-util

OK,解决。
2016-04-02 21:38 举报
已邀请:

回复帖子,请先登录注册

退出全屏模式 全屏模式 回复
评分
可选评分理由: