Apache安装问题:configure: error: APR not found . Please read the documentation
来源:互联网 发布:网络福禄克怎么测试 编辑:程序博客网 时间:2024/05/22 14:08
Linux上源码安装Apache时,编译出现错误:
checking for APR... no
configure: error: APR not found . Please read the documentation
安装APR,下载所需软件包,如果此时计算机可以上网,执行命令下载文件:
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.zipapr not found问题
tar -zxf apr-1.4.5.tar.gz cd apr-1.4.5 ./configure --prefix=/usr/local/apr make && make installAPR-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/bin/apr-1-config make && make installpcre问题
unzip -o pcre-8.10.zip cd pcre-8.10 ./configure --prefix=/usr/local/pcre make && make install最后编译Apache时加上:
--with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util/ --with-pcre=/usr/local/pcre例如:
./configure --prefix=/usr/local/apache2 --enable-so --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util/ --with-pcre=/usr/local/pcre
linux, configure --prefix=/有什么用指定安装路径不指定prefix,则可执行文件默认放在/usr /local/bin,库文件默认放在/usr/local/lib,配置文件默认放在/usr/local/etc。其它的资源文件放在/usr /local/share。你要卸载这个程序,要么在原来的make目录下用一次make uninstall(前提是make文件指定过uninstall),要么去上述目录里面把相关的文件一个个手工删掉。指定prefix,直接删掉一个文件夹就够了。
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
- 微信组件:微信转账查询
- linux挂载windows共享目录
- 【iOS】swift-文字宽度的计算
- Android Tool——Hierachy Viewer可视化调试
- 缓存的误区(上)
- Apache安装问题:configure: error: APR not found . Please read the documentation
- Golang(Go语言)中append函数返回值必须有变量接收的原因探究
- java 设计模式之迪米特法则
- 侧滑菜单
- Qt动态库调试方法2
- JavaScript小技巧
- 救命神文!应对ubuntu磁盘空间不足(已解决)
- IIS发布后图标或者字体不能显示
- 如何在楼板上开槽