编译Apache提示:APR 及PCRE 错误
来源:互联网 发布:线条底纹生成软件 编辑:程序博客网 时间:2024/05/21 06:13
checking for APR... no
configure: error: APR not found. Please read the documentation.
checking for pcre-config... false
configure: error: pcre-config for libpcre not found. PCRE is required and available from http://pcre.org/
如下图:
这是由于没有安装apr 及 apr-util 以及PCRE,因此需要下载安装,这里演示的是源码安装。
工具/原料
linux apache apr apr-util pcre
方法/步骤
下载apr-1.4.2.tar.gz并执行编译安装
# tar -zxvf apr-1.4.2.tar.gz
# cd apr-1.4.2
# ./configure
# make && make install
注意:在执行configure可能会出现
rm: cannot remove `libtoolT': No such file or directory错误信息。网上查阅了一下资料,提示编辑configure这个文件,将 $RM “$cfgfile” 那行注释掉 ,然后重新编译即可。
下载并编译安装apr-util-1.3.10
# tar -zxvf apr-util-1.3.10.tar.gz
# cd apr-util-1.3.10
# ./configure -with-apr=/usr/local/apr
# make && make install
pcre的编译安装
# tar -zxvf pcre-8.10.tar.gz
# cd pcre-8.10
# ./configure
# make && make install
END
注意事项
在make pcre的时候如果出现libtool: line 990: g++: command not found错误,则说明没有安装gcc+,装上gcc+就可以编译过去
- 编译Apache提示:APR 及PCRE 错误
- CentOS 安装apache 及所需的 apr,apr-util,pcre
- 编译apache时提示“APR not found”的解决方法
- apache apr mips64 编译
- apache 编译错误 configure: error: APR not found
- pcre-8.36 编译错误 解决
- Apache遇到的问题:APR not found、APR-util not found 、pcre-config for libpcre not found. PCRE is required
- 在linu系统安装apache全过程(httpd、apr、apr-util、pcre)以及进行相应配置
- 在linu系统安装apache全过程(httpd、apr、apr-util、pcre)以及进行相应配置
- 源码安装Apache apr错误
- 安装apache 提示APR not found 解决方法
- 编译apache报APR not found
- Apache安装错误 APR not found解决方法
- lighttpd及pcre的交叉编译
- APR-util not found pcre-config for libpcre not found. 错误解决方法
- PCRE++编译
- Apache apr
- apache安装前常见错误:checking for pcre-config... false
- 局域网内mysql连接慢的解决办法
- Tutorial1 Open a window
- mysql服务性能优化—my.cnf配置说明详解(16G内存)
- 6-4
- Tar.gz加密解密总结
- 编译Apache提示:APR 及PCRE 错误
- OpenCart多图片拖放式上传管理器
- 用链表实现两个数相加
- Java套接字2
- 华为2015年实习生招聘考试试题
- 有用的代码片段
- lamp环境搭建mysql5.5+httpd2.4+php5.6
- Oracle instr函数
- Spring注解详解