码迷,mamicode.com
首页 > 系统相关 > 详细

Linux 安装APR

时间:2019-09-01 12:25:51      阅读:416      评论:0      收藏:0      [点我收藏+]

标签:class   解压   http   make   could not   The   doc   name   cal   

 

 
Linux下解压缩
 
tar zxvf httpd-2.4.3.tar.gz 
 
编译安装
 
cd httpd-2.4.3
 
./configure
 
提示如下错误信息
 
configure: error: APR not found.  Please read the documentation.
 
解压缩,安装APR1.4.5
 
tar zxvf apr-1.4.5.tar.gz
 
cd apr-1.4.5
 
./configure
 
make
 
make install
 
再次编译
 
cd ..
 
cd httpd-2.4.3
 
./configure
 
提示如下错误信息
 
configure: error: APR-util not found.  Please read the documentation.
 
解压缩,安装APR-util
 
tar zxvf apr-util-1.4.1.tar.gz 
 
cd apr-util-1.4.1
 
./configure 
 
提示需要指定--with-apr参数
 
configure: error: APR could not be located. Please use the --with-apr option.
 
指定参数编译
 
./configure --with-apr=/usr/local/apr
 
make
 
make install
 
再次编译apache,成功
 
cd ..
 
cd httpd-2.4.3
 
./configure
 
make
 
make install
 
 
转载 http://blog.sina.com.cn/s/blog_6f74890d01019217.html

Linux 安装APR

标签:class   解压   http   make   could not   The   doc   name   cal   

原文地址:https://www.cnblogs.com/Mercury-linux/p/11441800.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!