免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1940 | 回复: 6
打印 上一主题 下一主题

无法安装Apache2 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-07-17 14:56 |只看该作者 |倒序浏览
之前我运行如下命令更新port
#portsnap fetch
#portsnap extract
下面就开如安装,安装到下面就出问题了。
showgood# cd /usr/ports/www/apache2
showgood# make install
===>   apache-2.0.54_4 depends on file: /usr/local/bin/perl5.8.7 - found
===>   apache-2.0.54_4 depends on shared library: expat.5 - found
===>   apache-2.0.54_4 depends on shared library: iconv.3 - found
===>  Configuring for apache-2.0.54_4
rebuilding srclib/apr/configure
buildconf: checking installation...
autoconf: not found
buildconf: autoconf not found.
           You need autoconf version 2.13 or newer installed
           to build Apache from CVS.
./buildconf failed for apr
*** Error code 1

Stop in /usr/ports/www/apache2.

请问怎样可以解决?

论坛徽章:
0
2 [报告]
发表于 2006-07-17 15:12 |只看该作者
更新ports先

论坛徽章:
0
3 [报告]
发表于 2006-07-17 15:34 |只看该作者
#portsnap fetch
#portsnap extract

这两步这是可以更新port的吗

论坛徽章:
0
4 [报告]
发表于 2006-07-17 18:04 |只看该作者
你手动安装嘛,我觉得这样管理起来更清晰。
#./configure --prefix=/usr/local/apache --enable-so --enable-mods-shared=all --enable-shared-max --enable-rewrite=shared --enable-speling=shared

#make
#make install

论坛徽章:
0
5 [报告]
发表于 2006-07-17 20:12 |只看该作者
configure后面带的参数是什么意思,可以为我解析一下吗

论坛徽章:
1
技术图书徽章
日期:2013-12-05 23:25:45
6 [报告]
发表于 2006-07-17 20:27 |只看该作者
./configure --help
全部解释都有的。
#./configure --prefix=/usr/local/apache --enable-so --enable-mods-shared=all --enable-shared-max --enable-rewrite=shared --enable-speling=shared
安装路径
允许so调用
安装大部分的共享模块
...
允许重写模块
允许拼写检查模块

论坛徽章:
2
IT运维版块每日发帖之星
日期:2015-10-05 06:20:00操作系统版块每日发帖之星
日期:2015-10-05 06:20:00
7 [报告]
发表于 2006-07-17 20:31 |只看该作者
autoconf not found.
           You need autoconf version 2.13 or newer installed
           to build Apache from CVS.

autoconf没有发现,去安装一个autoconf吧!不过我记得这个应该会自己安装的才对啊!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP