tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey Altman <jalt...@columbia.edu>
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 build_unix.sh.  It calls 

  mod_jk.so:
        $(APXS) -I ${JK} ${JAVA_INCL} -c -o mod_jk.la mod_jk.c $(SRCS)
        mv .libs/mod_jk.so .

And then APXS fails with:

./apxs -I ../common -I /opt/IBMJava2-13/include -I
/opt/IBMJava2-13/include/linu
x -c -o mod_jk.la 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
../common/jk_jni_
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
../common/jk_
uri_worker_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
od_jk.slo
gcc -pthread -I/usr/local/apache2/include -I../common
-I/opt/IBMJava2-13/include
 -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 mod_jk.la -rpath
/usr/local/apache2/modules
-module -avoid-version mod_jk.lo
rm -fr .libs/mod_jk.la .libs/libmod_jk.* .libs/libmod_jk.*
ar cru .libs/libmod_jk.a  mod_jk.o
ranlib .libs/libmod_jk.a
creating mod_jk.la
(cd .libs && rm -f mod_jk.la && ln -s ../mod_jk.la mod_jk.la)
libtool --mode=compile gcc -pthread -I/usr/local/apache2/include
-I../common -I/
opt/IBMJava2-13/include -I/opt/IBMJava2-13/include/linux  -c
../common/jk_ajp12_
worker.c && touch ../common/jk_ajp12_worker.slo
gcc -pthread -I/usr/local/apache2/include -I../common
-I/opt/IBMJava2-13/include
 -I/opt/IBMJava2-13/include/linux -c ../common/jk_ajp12_worker.c -o
jk_ajp12_wor
ker.o
echo timestamp > jk_ajp12_worker.lo
libtool --mode=link gcc -pthread -o ../common/jk_ajp12_worker.la
-rpath /usr/loc
al/apache2/modules -module -avoid-version ../common/jk_ajp12_worker.lo
rm -fr ../common/.libs/jk_ajp12_worker.la
../common/.libs/libjk_ajp12_worker.* .
./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
../common/jk_ajp12_worker.o
ar: ../common/jk_ajp12_worker.o: No such file or directory
apxs:Break: Command failed with rc=65536
make: *** [mod_jk.so] Error 1






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

Mime
View raw message