码迷,mamicode.com
首页 > 其他好文 > 详细

源码包安装

时间:2018-02-20 12:52:32      阅读:133      评论:0      收藏:0      [点我收藏+]

标签:2.4   nta   error:   not   源码   ash   .gz   目录   yum   

源码包下载到哪里?/usr/local/src/

安装gcc 

[root@apenglinux-001 src]# yum install gcc -y

源码包安装httpd-2.4.28

下载httpd-2.4.28========>[root@apenglinux-001 src]# wget  
解压====================>[root@apenglinux-001 src]# tar zxvf httpd-2.4.28.tar.gz
进入解压目录============>[root@apenglinux-001 httpd-2.4.28]# ./configure --prefix=/usr/local/apache-2.4.28
configure: error: APR not found.  Please read the documentation.(报错)
[root@apenglinux-001 httpd-2.4.28]# ./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

下载apr-1.6.2========>wget  
解压=================>tar zxvf apr-1.6.2.tar.gz
进入到解压目录=======>cd apr-1.6.2
配置=================>./configure
编译=================>make
安装=================>make install
查看apr-1.6.2是不是安装成功
[root@apenglinux-001 src]# ls /usr/local/apr/
bin  build-1  include  lib


源码包安装

标签:2.4   nta   error:   not   源码   ash   .gz   目录   yum   

原文地址:http://blog.51cto.com/13480443/2071947

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