首页 > 其他 > 详细

源码包安装

时间:2018-02-20 12:50:43      阅读:222      评论:0      收藏:0      [点我收藏+]
源码包下载到哪里?/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


源码包安装

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!