免费注册 查看新帖 |

Chinaunix

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

Tomcat5.0.28+Apache2.0.2+Linux安装问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-02-28 09:37 |只看该作者 |倒序浏览
我在编译jakarta-tomcat-connectors-jk2-2.0.4的时候遇到一个错误:
configure: error: Apache 1.3 requires apr to built from source, use --with-apr and --with-apr-util


请高手们告知是什么原因

论坛徽章:
0
2 [报告]
发表于 2008-02-28 13:07 |只看该作者
没有高手知道嘛?
版主在吗?

论坛徽章:
0
3 [报告]
发表于 2008-02-28 14:33 |只看该作者
原帖由 songlc 于 2008-2-28 09:37 发表
我在编译jakarta-tomcat-connectors-jk2-2.0.4的时候遇到一个错误:
configure: error: Apache 1.3 requires apr to built from source, use --with-apr and --with-apr-util


请高手们告知是什么原因

Build and install apr/apr-util
for example:
apr-1.2.2和apr-util-1.2.2
# Build and install apr 1.2
cd srclib/apr
./configure --prefix=/usr/local/apr-httpd/
make
make install

# Build and install apr-util 1.2
cd ../apr-util
./configure --prefix=/usr/local/apr-util-httpd/ --with-apr=/usr/local/apr-httpd/
make
make install

# Configure httpd
cd ../../
./configure --with-apr=/usr/local/apr-httpd/ --with-apr-util=/usr/local/apr-util-httpd/

或者对这两个包都是./configure make make install后编译测试看 应该默认可以找到路径的

[ 本帖最后由 xuledw 于 2008-2-28 14:34 编辑 ]

论坛徽章:
0
4 [报告]
发表于 2008-02-28 15:49 |只看该作者
原帖由 xuledw 于 2008-2-28 14:33 发表

Build and install apr/apr-util
for example:
apr-1.2.2和apr-util-1.2.2
# Build and install apr 1.2
cd srclib/apr
./configure --prefix=/usr/local/apr-httpd/
make
make install

# Build an ...

问题依旧
building connector for "apache-2.0"
no apxs2 given
checking checking for apache13...... not provided
checking checking for apache20...... not provided
checking checking for iis...... not provided
checking checking for iPlanet...... not provided
checking for tomcat33 location... not provided
checking for tomcat40 location... not provided
checking for tomcat41 location... not provided
configure: error: Apache 1.3 requires apr to built from source, use --with-apr and --with-apr-util

论坛徽章:
0
5 [报告]
发表于 2008-02-28 16:20 |只看该作者
./configure --prefix=/usr/local/apr-httpd/
这个命令做什么用,/usr/local/apr-httpd/没有这个目录,是要自己创建吗?

论坛徽章:
0
6 [报告]
发表于 2008-02-28 17:09 |只看该作者

回复 #5 songlc 的帖子

是安装指定目录,他需要你自己创建的

论坛徽章:
0
7 [报告]
发表于 2008-02-28 17:10 |只看该作者
原帖由 songlc 于 2008-2-28 16:20 发表
./configure --prefix=/usr/local/apr-httpd/
这个命令做什么用,/usr/local/apr-httpd/没有这个目录,是要自己创建吗?

是指定你安装的目录,你随意指定那个目录,但是如果没有那个目录你需要自己去创建

论坛徽章:
0
8 [报告]
发表于 2008-02-28 17:22 |只看该作者
还是不好用,大侠们帮忙再看看是什么原因。

论坛徽章:
0
9 [报告]
发表于 2008-02-28 18:08 |只看该作者
原帖由 songlc 于 2008-2-28 15:49 发表

问题依旧
building connector for "apache-2.0"
no apxs2 given
checking checking for apache13...... not provided
checking checking for apache20...... not provided
checking checking for iis... ...

你把之前的apache卸载了吧。每次都是configure: error: Apache 1.3 requires apr to built from source, use --with-apr and --with-apr-util
然后你从新安装下试试你自带APACHE是1。3版本吧

论坛徽章:
0
10 [报告]
发表于 2008-03-03 09:37 |只看该作者
问题依旧,请高手帮忙解决一下。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP