admin管理员组

文章数量:1531792

手动编译httpd(非yum安装),需要先安装apr和apr-util

> **第一步:安装apr**

典型安装三部曲:
./configure
make
make install

安装apr的时候,configure一直报错:

```
config.status: executing libtool commands
rm: cannot remove `libtoolT': No such file or directory
```
开始先去下载并安装了一下libtool:http://mirror.hust.edu/gnu/libtool/
安装成功后,再次回到apr configure,依然报错。

在网上看了一些材料,都是说要把在configure里面 的RM='$RM'改为RM='$RM  -f'。比如:http://blog.csdn/a673341766/article/details/9078011
不过我查看了一下configure文件里面的发现RM是正常的,无错误:
```
: ${CP="cp -f"}
: ${MV="mv -f"}
: ${RM="rm -f"}
```
然后去下载且手动编译autoconf和automake
http://ftp.gnu/gnu/automake/?C=M;O=A

```
[root@oc0515384300 Downloads]# cd autoconf-2.69
[root@oc0515384300 autoconf-2.69]# ls
aclocal.m4  BUGS       ChangeLog    ChangeLog.2  config.status  COPYING            doc          lib       Makefile     man     tests
AUTHORS     build-aux  ChangeLog.0  ChangeLog.3  configure      COPYING.EXCEPTION  GNUmakefile  m4        Makefile.am  NEWS    THANKS
bin         cfg.mk     ChangeLog.1  config.log   configure.ac   COPYINGv3          INSTALL      maint.mk  Makefile.in  README  TODO

本文标签: LinuxApache