apache编译安装,解决configure: error: APR not found . Please read the documentation问题!
来源:互联网 发布:敏感词过滤java 编辑:程序博客网 时间:2024/05/22 12:32
下午在一台机器上装APACHE,老方法:
获得一个httpd-2.4.23.tar.gztar -zxf httpd-2.4.23.tar.gz cd httpd-2.4.23./configure --prefix /usr/local/apachemake&&make install可是这机器不是我的,各种报错 ‘onfigure: 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 not found
[root@lme test]# tar -zxf apr-1.4.5.tar.gz [root@lme test]# cd apr-1.4.5 [root@lme apr-1.4.5]# ./configure --prefix=/usr/local/apr [root@lme apr-1.4.5]# make && make install3、解决apr not found
[root@lme test]# tar -zxf apr-1.4.5.tar.gz [root@lme test]# cd apr-1.4.5 [root@lme apr-1.4.5]# ./configure --prefix=/usr/local/apr [root@lme apr-1.4.5]# make && make install4、解决APR-util not found
[root@lme test]# tar -zxf apr-util-1.3.12.tar.gz [root@lme test]# cd apr-util-1.3.12 [root@lme apr-util-1.3.12]# ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr/bin/apr-1-config --enable-utf8 [root@lme apr-util-1.3.12]# make && make install
5、解决pcre问题
[root@lme test]#unzip -o pcre-8.10.zip [root@lme test]#cd pcre-8.10 [root@lme pcre-8.10]#./configure --prefix=/usr/local/pcre [root@lme pcre-8.10]#make && make install
大功告成,开始倒腾apache:
./configure --prefix=/usr/local/apache --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --with-pcre=/usr/local/pcre
make && make install最后启动:
/usr/local/apache/bin/apachectl start
哟西!
0 0
- 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
- 解决编译Apache出现的问题:configure: error: APR not found . Please read the documentation
- HDU 5821 Ball(贪心)
- 进程与线程
- 用广播(BroadcastReceiver)监听电池的变化
- 听北大公开课庄明科老师《大学生职业素养提升》第一集:《自我效能感》的笔记
- 华为机考题 003明明的随机数
- apache编译安装,解决configure: error: APR not found . Please read the documentation问题!
- 单线程端口扫描
- Android Java混淆(ProGuard)
- 推荐算法1-content based recommendation
- 永远要设定deadline,完成比完美更重要
- Shell每日闪记1
- [Codeforces Round #101 (Div. 2) C. Queue] STL之vector
- C#入门11.1——捕获异常
- 使用事件驱动模型实现高效稳定的网络服务器程序