Phillip,
I posted this under another thread and wanted to make sure you saw it just
in case it helps.
--------
What version of Perl are you running? apxs is a perl script.
Check the version with:
# perl -v
I had a similar problem with a system, it turned out that it was running
perl 4.x.
I upgraded to perl 5.6.0 (5.00 something is required) and it worked OK.
You can also check the apxs script to make sure it has your perl in the
right place. Do a "which perl" and make sure that the #! at the top is
right.
Thanks,
Mike.
--
Mike Braden
[EMAIL PROTECTED]
-----Original Message-----
From: Phillip Kuzma [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 2:53 PM
To: Tomcat List
Subject: Compile Problems (mod_jk.so)
Whenever I build mod_jk.so with apxs i get this problem! Can someone
please help!
Thank-you
Phil
[root@Fileserver apache1.3]# apxs -o mod_jk.so -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux -c *.c ../jk/*.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux -c mod_jk.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux -c
../jk/jk_ajp12_worker.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux -c
../jk/jk_ajp13.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux -c
../jk/jk_ajp13_worker.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux -c
../jk/jk_connect.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux -c
../jk/jk_jni_worker.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux -c
../jk/jk_lb_worker.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux -c
../jk/jk_map.c
../jk/jk_map.c:468:1: warning: no newline at end of file
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux -c
../jk/jk_msg_buff.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux -c
../jk/jk_nwmain.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux -c
../jk/jk_pool.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux -c
../jk/jk_sockbuf.c
../jk/jk_sockbuf.c:214:1: warning: no newline at end of file
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux -c
../jk/jk_uri_worker_map.c
../jk/jk_uri_worker_map.c:438:1: warning: no newline at end of file
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux -c
../jk/jk_util.c
gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
-DNO_DL_NEEDED -I/usr/local/apache/include -I../jk
-I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux -c
../jk/jk_worker.c
In file included from ../jk/jk_worker.c:63:
../jk/jk_worker_list.h:126:36: warning: no newline at end of file
-o mod_jk.so jk_worker.o jk_util.o jk_uri_worker_map.o jk_sockbuf.o
jk_pool.o jk_nwmain.o jk_msg_buff.o jk_map.o jk_lb_worker.o
jk_jni_worker.o jk_connect.o jk_ajp13_worker.o jk_ajp13.o
jk_ajp12_worker.o mod_jk.o
apxs:Break: Command failed with rc=255
[root@Fileserver apache1.3]#
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]