You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Michael Schommer <Mi...@fernbach.com> on 2001/04/25 14:22:49 UTC

Apache + Tomcat: building mod_jk ???

Hi,

I have problems building the Web Server Adapter mod_jk for Apache (1.3.19)
and Tomcat (3.3).
The apxs Perl-Skript failed:

troubadix[DB000]:[dl17]:/nt/U/mcs/tomcat-src/jakarta-tomcat/src/native/mod_
jk/apache1.3 (213)> build-unix.sh
Compiling mod_jk
cc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/nfs/home/mcs/apaches/include -I../common
-I/usr/j2se/include -I/usr/j2se/include/solaris  -c mod_jk.c
cc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/nfs/home/mcs/apaches/include -I../common
-I/usr/j2se/include -I/usr/j2se/include/solaris  -c
../common/jk_ajp12_worker.c
cc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/nfs/home/mcs/apaches/include -I../common
-I/usr/j2se/include -I/usr/j2se/include/solaris  -c ../common/jk_ajp13.c
cc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/nfs/home/mcs/apaches/include -I../common
-I/usr/j2se/include -I/usr/j2se/include/solaris  -c
../common/jk_ajp13_worker.c
cc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/nfs/home/mcs/apaches/include -I../common
-I/usr/j2se/include -I/usr/j2se/include/solaris  -c ../common/jk_connect.c
cc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/nfs/home/mcs/apaches/include -I../common
-I/usr/j2se/include -I/usr/j2se/include/solaris  -c
../common/jk_jni_worker.c
cc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/nfs/home/mcs/apaches/include -I../common
-I/usr/j2se/include -I/usr/j2se/include/solaris  -c
../common/jk_lb_worker.c
cc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/nfs/home/mcs/apaches/include -I../common
-I/usr/j2se/include -I/usr/j2se/include/solaris  -c ../common/jk_map.c
cc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/nfs/home/mcs/apaches/include -I../common
-I/usr/j2se/include -I/usr/j2se/include/solaris  -c ../common/jk_msg_buff.c
cc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/nfs/home/mcs/apaches/include -I../common
-I/usr/j2se/include -I/usr/j2se/include/solaris  -c ../common/jk_nwmain.c
cc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/nfs/home/mcs/apaches/include -I../common
-I/usr/j2se/include -I/usr/j2se/include/solaris  -c ../common/jk_pool.c
cc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/nfs/home/mcs/apaches/include -I../common
-I/usr/j2se/include -I/usr/j2se/include/solaris  -c ../common/jk_sockbuf.c
cc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/nfs/home/mcs/apaches/include -I../common
-I/usr/j2se/include -I/usr/j2se/include/solaris  -c
../common/jk_uri_worker_map.c
cc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/nfs/home/mcs/apaches/include -I../common
-I/usr/j2se/include -I/usr/j2se/include/solaris  -c ../common/jk_util.c
cc -DSOLARIS2=260 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/nfs/home/mcs/apaches/include -I../common
-I/usr/j2se/include -I/usr/j2se/include/solaris  -c ../common/jk_worker.c
  -o mod_jk.so jk_worker.o jk_util.o jk_uri_worker_map.o jk_sockbuf.o
jk_pool.o jk_nwmain.o jk_msg_buff.o jk_m
ap.o jk_lb_worker.o jk_jni_worker.o jk_connect.o jk_ajp13_worker.o
jk_ajp13.o jk_ajp12_worker.o mod_jk.o
apxs:Break: Command failed with rc=255


There seems to be something wrong with the apxs-Script?
Maybe its an error on compiling the Apache-Server and generating the
apxs-Script ???

Thanks for help
Michael

--
Java - write once, run anywhere