tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Gomez <hgo...@apache.org>
Subject Re: [ANN] Apache Tomcat mod_jk 1.2.4 Web Server Connector released
Date Mon, 16 Jun 2003 15:27:14 GMT
>>
>> BTW, the JF-Clere fix in configure.in to use the libtool in Apache 2.0 
>> case, don't works with Redhat 8.0/9.0 where there is an Apache 2.0.40 
>> with post 2.0.40 security fixes.
> 
> 
> And what is the error? It works with a vanilla Apache-2.0.40.

I don't know what they do with their 2.0.40 version but here is what 
I've got :

... configure time (note the error reported line 261) :

checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for test... /usr/bin/test
checking for rm... /bin/rm
checking for grep... /bin/grep
checking for echo... /bin/echo
checking for sed... /bin/sed
checking for cp... /bin/cp
checking for mkdir... /bin/mkdir
checking for libtool... /usr/bin/libtool
need to check for Perl first, apxs depends on it...
checking for perl... /usr/bin/perl
Use of uninitialized value in concatenation (.) or string at 
/usr/sbin/apxs line 261.
building connector for "apache-2.0"
checking for target platform... unix
no apache given
configure: creating ./config.status
config.status: creating Makefile
config.status: creating apache-1.3/Makefile
config.status: creating apache-1.3/Makefile.apxs
config.status: creating apache-2.0/Makefile
config.status: creating apache-2.0/Makefile.apxs
config.status: creating common/Makefile
config.status: creating common/list.mk
config.status: creating jni/Makefile
config.status: executing depfiles commands

... build time :

Making all in common
make[1]: Entering directory 
`/home/admin/jakarta-tomcat-connectors-jk-1.2.4-src/jk/native/common'
mode=compile gcc -I/usr/include/httpd -g -O2 -O2 -g -march=i386 
-mcpu=i686 -pthread -DNO_DBM_REWRITEMAP -g -O2 -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I 
/opt/IBMJava2-131/include -I /opt/IBMJava2-131/include/ -c 
jk_ajp12_worker.c
mode=compile gcc -I/usr/include/httpd -g -O2 -O2 -g -march=i386 
-mcpu=i686 -pthread -DNO_DBM_REWRITEMAP -g -O2 -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I 
/opt/IBMJava2-131/include -I /opt/IBMJava2-131/include/ -c jk_connect.c
mode=compile gcc -I/usr/include/httpd -g -O2 -O2 -g -march=i386 
-mcpu=i686 -pthread -DNO_DBM_REWRITEMAP -g -O2 -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I 
/opt/IBMJava2-131/include -I /opt/IBMJava2-131/include/ -c jk_msg_buff.c
mode=compile gcc -I/usr/include/httpd -g -O2 -O2 -g -march=i386 
-mcpu=i686 -pthread -DNO_DBM_REWRITEMAP -g -O2 -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I 
/opt/IBMJava2-131/include -I /opt/IBMJava2-131/include/ -c jk_util.c
mode=compile gcc -I/usr/include/httpd -g -O2 -O2 -g -march=i386 
-mcpu=i686 -pthread -DNO_DBM_REWRITEMAP -g -O2 -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I 
/opt/IBMJava2-131/include -I /opt/IBMJava2-131/include/ -c jk_ajp13.c
mode=compile gcc -I/usr/include/httpd -g -O2 -O2 -g -march=i386 
-mcpu=i686 -pthread -DNO_DBM_REWRITEMAP -g -O2 -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I 
/opt/IBMJava2-131/include -I /opt/IBMJava2-131/include/ -c jk_pool.c
mode=compile gcc -I/usr/include/httpd -g -O2 -O2 -g -march=i386 
-mcpu=i686 -pthread -DNO_DBM_REWRITEMAP -g -O2 -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I 
/opt/IBMJava2-131/include -I /opt/IBMJava2-131/include/ -c jk_worker.c
mode=compile gcc -I/usr/include/httpd -g -O2 -O2 -g -march=i386 
-mcpu=i686 -pthread -DNO_DBM_REWRITEMAP -g -O2 -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I 
/opt/IBMJava2-131/include -I /opt/IBMJava2-131/include/ -c 
jk_ajp13_worker.c
mode=compile gcc -I/usr/include/httpd -g -O2 -O2 -g -march=i386 
-mcpu=i686 -pthread -DNO_DBM_REWRITEMAP -g -O2 -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I 
/opt/IBMJava2-131/include -I /opt/IBMJava2-131/include/ -c jk_lb_worker.c
mode=compile gcc -I/usr/include/httpd -g -O2 -O2 -g -march=i386 
-mcpu=i686 -pthread -DNO_DBM_REWRITEMAP -g -O2 -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I 
/opt/IBMJava2-131/include -I /opt/IBMJava2-131/include/ -c jk_sockbuf.c
mode=compile gcc -I/usr/include/httpd -g -O2 -O2 -g -march=i386 
-mcpu=i686 -pthread -DNO_DBM_REWRITEMAP -g -O2 -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I 
/opt/IBMJava2-131/include -I /opt/IBMJava2-131/include/ -c jk_map.c

...

  -O2 -g -march=i386 -mcpu=i686 -pthread -DNO_DBM_REWRITEMAP -g -O2 
-pthread -DNO_DBM_REWRITEMAP -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -c ../common/jk_ajp_common.c
/bin/sh /usr/bin/libtool --silent --mode=compile gcc 
-I/usr/include/httpd -g -O2 -DUSE_APACHE_MD5 -I ../common  -I 
/opt/IBMJava2-131/include -I /opt/IBMJava2-131/include/unix -DLINUX=2 
-D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE 
-D_GNU_SOURCE -O2 -g -march=i386 -mcpu=i686 -pthread -DNO_DBM_REWRITEMAP 
-g -O2 -pthread -DNO_DBM_REWRITEMAP -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -c 
../common/jk_context.c
/bin/sh /usr/bin/libtool --silent --mode=link gcc -I/usr/include/httpd 
-g -O2 -DUSE_APACHE_MD5 -I ../common  -I /opt/IBMJava2-131/include -I 
/opt/IBMJava2-131/include/unix -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -O2 -g 
-march=i386 -mcpu=i686 -pthread -DNO_DBM_REWRITEMAP -g -O2 -pthread 
-DNO_DBM_REWRITEMAP -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -o mod_jk.la -module -rpath 
/usr/lib/httpd/modules -avoid-version mod_jk.lo 
../common/jk_ajp12_worker.lo ../common/jk_connect.lo 
../common/jk_msg_buff.lo ../common/jk_util.lo ../common/jk_ajp13.lo 
../common/jk_pool.lo ../common/jk_worker.lo ../common/jk_ajp13_worker.lo 
../common/jk_lb_worker.lo ../common/jk_sockbuf.lo ../common/jk_map.lo 
../common/jk_uri_worker_map.lo ../common/jk_ajp14.lo 
../common/jk_ajp14_worker.lo ../common/jk_md5.lo 
../common/jk_ajp_common.lo ../common/jk_context.lo
gcc: ../common/jk_ajp12_worker.lo: No such file or directory
gcc: ../common/jk_connect.lo: No such file or directory
gcc: ../common/jk_msg_buff.lo: No such file or directory
gcc: ../common/jk_util.lo: No such file or directory
gcc: ../common/jk_ajp13.lo: No such file or directory
gcc: ../common/jk_pool.lo: No such file or directory
gcc: ../common/jk_worker.lo: No such file or directory
gcc: ../common/jk_ajp13_worker.lo: No such file or directory
gcc: ../common/jk_lb_worker.lo: No such file or directory
gcc: ../common/jk_sockbuf.lo: No such file or directory
gcc: ../common/jk_map.lo: No such file or directory
gcc: ../common/jk_uri_worker_map.lo: No such file or directory
gcc: ../common/jk_ajp14.lo: No such file or directory
gcc: ../common/jk_ajp14_worker.lo: No such file or directory
gcc: ../common/jk_md5.lo: No such file or directory
gcc: ../common/jk_ajp_common.lo: No such file or directory
gcc: ../common/jk_context.lo: No such file or directory
make[1]: *** [mod_jk.la] Error 1
make[1]: Leaving directory 
`/home/admin/jakarta-tomcat-connectors-jk-1.2.4-src/jk/native/apache-2.0'
make: *** [all-recursive] Error 1

It seems we loose the /bin/sh /usr/bin/libtool --silent in the first 
part of the build (certainly related to the 'customized' Redhat apxs and
the strange error line 261 of APXS (attached).




Mime
View raw message