Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3486663
  • 博文数量: 10
  • 博客积分: 176
  • 博客等级: 入伍新兵
  • 技术积分: 219
  • 用 户 组: 普通用户
  • 注册时间: 2011-07-10 19:56
文章分类

全部博文(10)

文章存档

2013年(4)

2012年(3)

2011年(3)

我的朋友

分类:

2011-07-16 20:39:59

configure: error: Cannot use an external APR with the bundled APR-util
根据错误信息进行解决
安装apr和apr-util
上面有这些源码包自己编译安装

tar xzvf apr-1.2.9.tar.gz
cd apr-1.2.9
./configure --prefix=/usr/local/apr
make
make install

tar xzvf apr-util-1.2.8.tar.gz
cd apr-util-1.2.8
./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr
make
make install

接下来安装apache
./configure --prefix=/usr/local/apache --enable-so --enable-mods-shared=all --enable-cgi --enable-rewrite --enable-deflate --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --with-mpm=worker
make
make install
搞定!!

阅读(2542) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~