Linux 安装apache时报错;configure: error: Cannot use an external APR with the bundled APR-util
1个回答
展开全部
configure: error: Cannot use an external APR with the bundled APR-util
根据错误信息进行解决
安装apr和apr-util
http://apr.apache.org上面有这些源码包自己编译安装
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
搞定!!
根据错误信息进行解决
安装apr和apr-util
http://apr.apache.org上面有这些源码包自己编译安装
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
搞定!!
追问
你粘的这个我看过了,不好用的。不知道是哪里出问题了,郁闷
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |