开发者社区 问答 正文

请教centsOS64位整合apachetomcat出错问题


yum -y install java
yum -y install tomcat6
yum -y install httpd
chkconfig --levels 35 httpd on
chkconfig --levels 36 tomcat6 on
service httpd start

/etc/yum.conf 然后找到这行:
exclude=kernel*
修改为:
exclude=


上传jakarta-tomcat-connectors-jk2-src-current.tar.gz
tar xvfz jakarta-tomcat-connectors-jk2-src-current.tar.gz
cd jakarta-tomcat-connectors-jk2-2.0.4-src
cd jk/native2
yum -y install gcc
yum -y install gcc-c  *
./configure --with-apxs=/etc/httpd

最后无法生成连接模块
need to check for Perl first, apxs depends on it...
checking for perl... /usr/bin/perl
could not find /usr/sbin/httpd
configure: error: You must specify a valid --with-apxs path

展开
收起
hi31398280 2013-01-17 22:38:44 7834 分享 版权
2 条回答
写回答
取消 提交回答
  • 路过
    2013-01-18 10:35:18
    赞同 展开评论
  • Re请教centsOS64位整合apachetomcat出错问题
    已解决
    bbs.aliyun.com/read.php?tid=132521
    2013-01-17 23:57:02
    赞同 展开评论
问答分类:
问答地址: