tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GOMEZ Henri <hgo...@slib.fr>
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

libtool-1.3.4-3 
autoconf-2.13-5
automake-1.4-6


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



>-----Original Message-----
>From: Jeffrey Altman [mailto:jaltman@columbia.edu]
>Sent: Friday, June 01, 2001 5:08 PM
>To: tomcat-dev@jakarta.apache.org
>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").
>
>./build-unix.sh 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 mod_jk.so 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?
>
>####BEGIN####
>make -f Makefile.linux
>./apxs -I ../common -I /opt/IBMJava2-13/include -I
>/opt/IBMJava2-13/include/linux -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 mod_jk.slo
>mkdir .libs
>gcc -pthread -I/usr/local/apache2/include -I../common
>-I/opt/IBMJava2-13/include
> -I/opt/IBMJava2-13/include/linux -c mod_jk.c  -fPIC -DPIC -o 
>.libs/mod_jk.lo
>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 
>>/dev/null 2>&1
>mv -f .libs/mod_jk.lo 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/mod_jk.* .libs/mod_jk.*
>gcc -shared  -Wl,--rpath -Wl,/usr/local/apache2/modules  mod_jk.lo
>-pthread -lc
>  -Wl,-soname -Wl,mod_jk.so -o .libs/mod_jk.so
>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
>rm -f .libs/jk_ajp12_worker.lo
>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
>-fPIC -DPIC -o  .libs/jk_ajp12_worker.lo
>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_worker.o >/dev/null 2>&1
>mv -f .libs/jk_ajp12_worker.lo jk_ajp12_worker.lo
>libtool --mode=link gcc -pthread -o ../common/jk_ajp12_worker.la
>-rpath /usr/local/apache2/modules -module -avoid-version 
>../common/jk_ajp12_worker.lo
>rm -fr ../common/.libs/jk_ajp12_worker.la
>../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,jk_ajp12_worker.so -o
>../common/.libs/jk_ajp12_worker.so
>gcc: ../common/jk_ajp12_worker.lo: No such file or directory
>apxs:Break: Command failed with rc=65536
>make: *** [mod_jk.so] Error 1
>###END####
>
>
>
>
>
>
>
>
>
> 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