今日编译apache时出错:
#./configure --prefix……检查编辑环境时出现:
checking for APR... no
configure: error: APR not found . Please read the documentation
解决办法:
1.下载所需软件包:
- wget http://archive.apache.org/dist/apr/apr-1.4.5.tar.gz
- wget http://archive.apache.org/dist/apr/apr-util-1.3.12.tar.gz
- wget http://jaist.dl.sourceforge.net/project/pcre/pcre/8.10/pcre-8.10.zip
2.编译安装:
- yum remove apr-util-devel apr apr-util-mysql apr-docs apr-devel apr-util apr-util-docs
具体步骤如下:
a:解决apr not found问题>>>>>>

在编译Apache时遇到错误'configure: error: APR not found. Please read the documentation'。通过下载并安装必要的软件包,包括APR、APR-util和pcre,然后在配置Apache编译选项时指定它们的路径,最终成功解决了问题。
最低0.47元/天 解锁文章
1679

被折叠的 条评论
为什么被折叠?



