编译Apache出现的问题:configure: error: APR not found .
来源:互联网 发布:人工智能之父图灵 编辑:程序博客网 时间:2024/05/07 20:31
今天编译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.卸载系统自带的apr
yum remove apr
3.安装
a:解决apr not found 的问题>>>
tar -zxf apr-1.4.5.tar.gz
cd apr-1.4.5
./configure --prefix=/usr/local/apr
make && make install
b:解决APR-util not found问题>>>>
tar -zxf apr-util-1.3.12.tar.gz
cd apr-util-1.3.12
./configure --prefix=/usr/local/apr-util -with- apr=/usr/local/apr/
make && make install
c:解决pcre问题>>>>>>>>>
unzip -o pcre-8.10.zip
cd pcre-8.10
./configure --prefix=/usr/local/pcre
make && make install
这一步可能会出现pcre编译失败,libtool: line 990: g++: command not found错误只要yum -y install gcc+ gcc-c++即可解决问题
4.最后编译Apache时加上:
--with-apr=/usr/local/apr \
--with-apr-util=/usr/local/apr-util/ \
--with-pcre=/usr/local/pcre
成功编译完成~
0 0
- 编译Apache出现的问题:configure: error: APR not found .
- 解决编译Apache出现的问题:configure: error: APR not found . Please read the documentation
- 解决编译apache出现的问题:configure: error: APR not found . Please read the documentation
- 解决编译Apache出现的问题:configure: error: APR not found . Please read the documentation
- 解决编译Apache出现的问题:configure: error: APR not found . Please read the documentation
- 解决编译Apache出现的问题:configure: error: APR not found . Please read the documentation
- 解决编译apache出现的问题:configure: error: APR not found . Please read the documentation
- 解决编译apache出现的问题:configure: error: APR not found . Please read the documentation
- 解决编译apache出现的问题:configure: error: APR not found . Please read the documentation .
- 解决编译apache出现的问题:configure: error: APR not found . Please read the documentation
- 解决编译Apache出现的问题:configure: error: APR not found . Please read the documentation
- 解决编译apache出现的问题:configure: error: APR not found . Please read the documentation
- 解决编译Apache出现的问题:configure: error: APR not found . Please read the documentation
- 解决编译Apache出现的问题:configure: error: APR not found . Please read the documentation
- 解决编译apache出现的问题:configure: error: APR not found . Please read the documentation
- 解决编译Apache出现的问题:configure: error: APR not found . Please read the documentation
- 解决编译apache出现的问题:configure: error: APR not found . Please read the documentation
- 解决编译Apache出现的问题:configure: error: APR not found . Please read the documentation
- Layer Programming with Quartz Core
- [网络拾遗] 详解IP地址后面斜杠加具体数字
- String、StringBuffer与StringBuilder之间区别
- 使用GameKit实现iOS设备之间的蓝牙通信
- servlet GET/POST 乱码问题
- 编译Apache出现的问题:configure: error: APR not found .
- [转载]JS判断手机号是否正确(正则表达式)
- [概念]MRC的set和get
- 数据库中超键、候选键、主键的区分
- 搜索引擎下拉菜单 提示关键词 接口API (百度长尾词 淘宝长尾词)
- 第176天
- sublime text 在已经安装ConvertToUTF8插件后出现中文乱码
- 关于RAID1的读写问题
- android activity与fragment的生命周期