tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey Altman <>
Subject RE: mod_jk for Apache 2.0 not building on Red Hat 6
Date Thu, 01 Jan 1970 00:00:00 GMT
> Something I know well :)
> Which version of Apache 2.0 have you ?
> Up to the latest, the apxs was broken.
> I recommand you take a look at Makefile.linux
> in TC 3.3 :)

Thanks for your help.  The Apache version is 2.0.16

I've looked at the Makefile.linux and that apparently has less luck
than  It calls
        $(APXS) -I ${JK} ${JAVA_INCL} -c -o mod_jk.c $(SRCS)
        mv .libs/ .

And then APXS fails with:

./apxs -I ../common -I /opt/IBMJava2-13/include -I
x -c -o mod_jk.c ../common/jk_ajp12_worker.c
../common/jk_connect.c ..
/common/jk_msg_buff.c ../common/jk_util.c ../common/jk_ajp13.c
worker.c ../common/jk_pool.c ../common/jk_worker.c
../common/jk_ajp13_worker.c .
./common/jk_lb_worker.c ../common/jk_sockbuf.c  ../common/jk_map.c
libtool --mode=compile gcc -pthread -I/usr/local/apache2/include
-I../common -I/
opt/IBMJava2-13/include -I/opt/IBMJava2-13/include/linux  -c mod_jk.c
&& touch m
gcc -pthread -I/usr/local/apache2/include -I../common
 -I/opt/IBMJava2-13/include/linux -c mod_jk.c -o mod_jk.o
echo timestamp > mod_jk.lo
libtool --mode=link gcc -pthread -o -rpath
-module -avoid-version mod_jk.lo
rm -fr .libs/ .libs/libmod_jk.* .libs/libmod_jk.*
ar cru .libs/libmod_jk.a  mod_jk.o
ranlib .libs/libmod_jk.a
(cd .libs && rm -f && ln -s ../
libtool --mode=compile gcc -pthread -I/usr/local/apache2/include
-I../common -I/
opt/IBMJava2-13/include -I/opt/IBMJava2-13/include/linux  -c
worker.c && touch ../common/jk_ajp12_worker.slo
gcc -pthread -I/usr/local/apache2/include -I../common
 -I/opt/IBMJava2-13/include/linux -c ../common/jk_ajp12_worker.c -o
echo timestamp > jk_ajp12_worker.lo
libtool --mode=link gcc -pthread -o ../common/
-rpath /usr/loc
al/apache2/modules -module -avoid-version ../common/jk_ajp12_worker.lo
rm -fr ../common/.libs/
../common/.libs/libjk_ajp12_worker.* .
(cd ../common && ln -s jk_ajp12_worker.lo jk_ajp12_worker.o)
ar cru ../common/.libs/libjk_ajp12_worker.a
ar: ../common/jk_ajp12_worker.o: No such file or directory
apxs:Break: Command failed with rc=65536
make: *** [] Error 1

 Jeffrey Altman * Sr.Software Designer      C-Kermit 7.1 Alpha available
 The Kermit Project @ Columbia University   includes Secure Telnet and FTP             using Kerberos, SRP, and          OpenSSL.  SSH soon to follow.

View raw message