tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GOMEZ Henri <>
Subject RE: mod_jk for Apache 2.0 not building on Red Hat 6
Date Fri, 01 Jun 2001 15:14:39 GMT
I used the following RPM


Henri Gomez                 ___[_]____
EMAIL :        (. .)                     
PGP KEY : 697ECEDD    ...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 

>-----Original Message-----
>From: Jeffrey Altman []
>Sent: Friday, June 01, 2001 5:08 PM
>Subject: RE: mod_jk for Apache 2.0 not building on Red Hat 6
>I applied the patch to APXS.  
>I replaced /usr/bin/libtool (version "1.3.4") with the one from the
>Apache 2.0 distribution (version "1.3.4-freebsd-ports").
>./ now completes successfully and produces 
>  [root@IAM40 apache2.0]# ls -l /usr/local/apache2/modules/
>  total 12
>  -rw-r--r--   1 root     root        10802 Jun  1 07:45 libmod_jk.a
>but no file.  Anyway to convert from .a to .so?
>make -f Makefile.linux is still failing.  So I wonder, which version
>of libtool are you using?
>make -f Makefile.linux
>./apxs -I ../common -I /opt/IBMJava2-13/include -I
>/opt/IBMJava2-13/include/linux -c -o mod_jk.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
>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 mod_jk.slo
>mkdir .libs
>gcc -pthread -I/usr/local/apache2/include -I../common
> -I/opt/IBMJava2-13/include/linux -c mod_jk.c  -fPIC -DPIC -o 
>gcc -pthread -I/usr/local/apache2/include -I../common 
> -I/opt/IBMJava2-13/include/linux -c mod_jk.c -o mod_jk.o 
>>/dev/null 2>&1
>mv -f .libs/mod_jk.lo mod_jk.lo
>libtool --mode=link gcc -pthread -o -rpath
>-module -avoid-version mod_jk.lo
>rm -fr .libs/ .libs/mod_jk.* .libs/mod_jk.*
>gcc -shared  -Wl,--rpath -Wl,/usr/local/apache2/modules  mod_jk.lo
>-pthread -lc
>  -Wl,-soname -Wl, -o .libs/
>(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
>../common/jk_ajp12_worker.c && touch ../common/jk_ajp12_worker.slo
>rm -f .libs/jk_ajp12_worker.lo
>gcc -pthread -I/usr/local/apache2/include -I../common
> -I/opt/IBMJava2-13/include/linux -c ../common/jk_ajp12_worker.c
>-fPIC -DPIC -o  .libs/jk_ajp12_worker.lo
>gcc -pthread -I/usr/local/apache2/include -I../common
> -I/opt/IBMJava2-13/include/linux -c ../common/jk_ajp12_worker.c -o
>jk_ajp12_worker.o >/dev/null 2>&1
>mv -f .libs/jk_ajp12_worker.lo jk_ajp12_worker.lo
>libtool --mode=link gcc -pthread -o ../common/
>-rpath /usr/local/apache2/modules -module -avoid-version 
>rm -fr ../common/.libs/
>../common/.libs/jk_ajp12_worker.* ../common/.libs/jk_ajp12_worker.*
>(cd ../common && ln -s jk_ajp12_worker.lo jk_ajp12_worker.o)
>gcc -shared  -Wl,--rpath -Wl,/usr/local/apache2/modules
>../common/jk_ajp12_worker.lo  -pthread -lc  -Wl,-soname 
>-Wl, -o
>gcc: ../common/jk_ajp12_worker.lo: 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 
> The Kermit Project @ Columbia University   includes Secure 
>Telnet and FTP
>             using Kerberos, SRP, and 
>          OpenSSL.  SSH soon 
>to follow.

View raw message