- 论坛徽章:
- 0
|
看了很多关于tomcat+apache整合的帖子,试着编译了几天也没成功,郁闷啊!
我想整合的是apache2.0.49+tomcat5.0.27,apache和tomcat的编译是很顺利的了,在jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2下./configure --with-apxs2=/export/home/apache2/bin/apxs时结果如下:
......
checking for cp... /usr/bin/cp
checking for mkdir... /usr/bin/mkdir
no apxs given
need to check for Perl first, apxs depends on it...
checking for perl... /usr/local/bin/perl
building connector for "apache-2.0"
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: creating ./config.status
config.status: creating Makefile
config.status: creating server/apache13/Makefile
config.status: creating server/apache13/Makefile.apxs
config.status: creating server/apache2/Makefile
config.status: creating server/apache2/Makefile.apxs
config.status: creating ../build.properties
config.status: creating scripts/build/unix/dummy
config.status: executing depfiles commands
提示的no apxs given是何原因,我已给出正确的apxs路径了啊。不知这样的configure结果是否正确?
另,在Server上如果同时运行tomcat4和tomcat5,在编译时又如何确定要整合的tomcat呢?
在configure之后,执行make出现错误
list=' server/apache2'; \
for i in $list; do \
echo "Making $target in $i"; \
if test "$i" != "."; then \
(cd $i && make) || exit 1; \
fi; \
done;
Making in server/apache2
make: Fatal error in reader: Makefile, line 21: Unexpected end of line seen
Current working directory /export/home/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server/apache2
*** Error code 1
make: Fatal error: Command failed for target `jk2-build'
折腾了几天也没弄好,请大侠们帮忙分析一下原因,多谢了 |
|