安装Apache提示APR not found的解决办法
来源:互联网 发布:linux哪个方面 编辑:程序博客网 时间:2024/05/26 09:53
不知道为什么在安装apache2.2.22版本的时候没有任何问题,直接使用命令
./configure --prefix=/home/www/www_test/software/apache-2.2.22 --enable-proxy --enable-so --enable-mods-shared=most --with-mpm=worker
没有任何问题,不过在安装新版本2.4.2的时候就会报错。
解决方案如下:
#./configure --prefix……检查编辑环境时出现:
checking for APR... no
configure: error: APR not found . Please read the documentation.
可以用./configure –help | grep apr 查看帮助。
--with-included-apr Use bundled copies of APR/APR-Util
--with-apr=PATH prefix for installed APR or the full path to apr-config
--with-apr-util=PATH prefix for installed APU or the full path to
安装APR(Apache Portable Runtime )
[root@localhost ~]# cd /tmp/52lamp/ //源码存放位置
[root@localhost 52lamp]# tar -zxvf apr-1.4.2.tar.gz //unzip -o apr-1.4.2.zip
[root@localhost 52lamp]# cd apr-1.4.2
[root@localhost apr-1.4.2]# ./configure
[root@localhost apr-1.4.2]# make
[root@localhost apr-1.4.2]# make install
再次检查编译环境出现
checking for APR-util... no
configure: error: APR-util not found . Please read the documentation.
[root@localhost httpd-2.2.16]# ./configure –help | grep apr-util
--with-apr-util=PATH prefix for installed APU or the full path to
[root@localhost 52lamp]# tar -zxvf apr-util-1.3.9.tar.gz
[root@localhost 52lamp]# cd apr-util-1.3.9
[root@localhost apr-util-1.3.9]# ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr
[root@localhost apr-util-1.3.9]# make
[root@localhost apr-util-1.3.9]# make install
./configure仍提示APR-util not found,增加--with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util后出现
configure: error: pcre-config for libpcre not found. PCRE is required and available from http://pcre.org/
[root@localhost httpd-2.2.16]# ./configure –help | grep pcre
--with-pcre=PATH Use external PCRE library
[root@localhost 52lamp]# unzip -o pcre-8.10.zip
[root@localhost 52lamp]# cd pcre-8.10
[root@localhost cd pcre-8.10]# ./configure --prefix=/usr/local/pcre
[root@localhost cd pcre-8.10]# make
[root@localhost cd pcre-8.10]# make install
继续安装Apache/httpd,./configure 时加上参数 --with-apr=/usr/local/apr/ --with-apr-util=/usr/local/apr-util/ --with-pcre=/usr/local/pcre,这个问题就解决了。
- 安装Apache提示APR not found的解决办法
- 安装Apache提示APR not found的解决办法
- 安装Apache提示APR not found的解决办法
- 安装apache 提示APR not found 解决方法
- 安装httpd服务器提示APR not found的解决办法
- apache安装错误error: APR not found解决办法
- 编译apache时提示“APR not found”的解决方法
- Apache安装错误 APR not found解决方法
- Apache遇到的问题:APR not found
- Apache遇到的问题:APR not found
- Apache遇到的问题:APR not found
- Apache的编译安装error: APR not found. Please read the documentation
- Debian: 从源码安装apache时遇到的问题:configure: error: APR not found
- Apache的编译安装error: APR not found. Please read the documentation
- Centos下安装apahce的configure: error: APR not found. Please read the documentation解决办法
- Centos下安装apahce的configure: error: APR not found. Please read the documentation解决办法
- Apache遇到的问题:APR not found、APR-util not found 、pcre-config for libpcre not found. PCRE is required
- apache编译过程中出现apr not found的问题解决
- jdk环境配置
- 数据密集、计算密集、IO密集,hadoop如何应对?
- java面向对象基础小结
- 《jQuery基础教程》-- 事件
- 为Android内核添加新驱动,并添加到menuconfig菜单【实践简记】
- 安装Apache提示APR not found的解决办法
- 注册及卸载dll或ocx文件过程
- NYOJ-74 小学生算术
- java声明操作数据库简
- listview颜色交替显示代码
- 如何在colinux+fedora扩展分区大小
- json连接中央气象台api异常
- 传送文件时循环冗余校验
- static