手动编译httpd(非yum安装),需要先安装apr和apr-utiladmin管理员组文章数量:1612098
> **第一步:安装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
版权声明:本文标题:Linux上手动编译apache 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dianzi/1726826256a1086116.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论