标签:
今日编译apache时出错:
#./configure --prefix……检查编辑环境时出现:
checking for APR... no
configure: error: APR not found . Please read the documentation
解决办法:
1.下载所需软件包:
2.编译安装:
具体步骤如下:
a:解决apr not found问题>>>>>>
b:解决APR-util not found问题>>>>
c:解决pcre问题>>>>>>>>>
4.最后编译Apache时加上:
./configure --prefix=/usr/local/httpd2 \
--enable-modules=all \
--enable-mods-shared=all \
--enable-so \
--with-apr=/usr/local/apr \
--with-apr-util=/usr/local/apr-util/ \
--with-pcre=/usr/local/pcre
最后
make && make install
成功编译完成~
linux 上安装apache 出现 configure: error: APR not found. Please read the documentation错误
标签:
原文地址:http://www.cnblogs.com/hgj123/p/4217808.html