Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

mod_jk2-2.0.2 + Apache 2.0.48

Vitor Domingos

2003-12-28

Replies:

Hello.

I'm trying to compile jakarta-tomcat-connectors-jk2-2.0.2 with apache
2.0.48 on Solaris 9 x86. I've installed Apache and Tomcat 5.0.16
correctly. They are both working.

On tomcat-connectors i'm doing this:

bash-2.05# pwd
/var/tomcat/software/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2

bash-2.05# ./buildconf.sh
libtoolize --force --automake --copy
aclocal
automake --copy --add-missing
autoconf

bash-2.05# ./configure --with-apxs2=/usr/local/apache2/bin/apxs
checking for a BSD-compatible install... scripts/build/unix/install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking build system type... i386-pc-solaris2.9
checking host system type... i386-pc-solaris2.9
checking for ld used by GCC... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/ccs/bin/nm -p output... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/ccs/bin/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.9 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
checking for test... /usr/bin/test
checking for rm... /usr/bin/rm
checking for grep... /usr/bin/grep
checking for echo... /usr/bin/echo
checking for sed... /usr/bin/sed
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/bin/perl
building connector for "apache-2.0"
checking for tomcat33 location... not provided
checking for tomcat40 location... not provided
checking for tomcat41 location... not provided
checking for JDK location (please wait)... /usr/java from environment
checking Java platform... checking Java platform...
checking os_type directory... solaris
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

bash-2.05# 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 19: Unexpected end of line seen
Current working directory
/var/tomcat/software/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2/server/apache2
*** Error code 1
make: Fatal error: Command failed for target `jk2-build'
bash-2.05#


I've also tried the mod_jk2 binary for solaris 8 for apache 2.0.43, but
the apache gives me an error on ELF something.

Is there any special requirement for apache 2.0.48? Isnt this tested yet?

Thanks.
--
Vitor Domingos
Paradigma.co.pt


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.