源码包安装
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了源码包安装相关的知识,希望对你有一定的参考价值。
源码包下载到哪里?/usr/local/src/安装gcc
[[email protected] src]# yum install gcc -y
源码包安装httpd-2.4.28
下载httpd-2.4.28========>[[email protected] src]# wget 解压====================>[[email protected] src]# tar zxvf httpd-2.4.28.tar.gz 进入解压目录============>[[email protected] httpd-2.4.28]# ./configure --prefix=/usr/local/apache-2.4.28 configure: error: APR not found. Please read the documentation.(报错) [[email protected] 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是不是安装成功 [[email protected] src]# ls /usr/local/apr/ bin build-1 include lib
以上是关于源码包安装的主要内容,如果未能解决你的问题,请参考以下文章