From owner-freebsd-questions Tue Oct 10 15:58:45 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailout2-0.nyroc.rr.com (mailout2-0.nyroc.rr.com [24.92.226.121]) by hub.freebsd.org (Postfix) with ESMTP id 8EF2637B502 for ; Tue, 10 Oct 2000 15:58:38 -0700 (PDT) Received: from andy (bsh1-3a8.twcny.rr.com [24.95.175.168]) by mailout2-0.nyroc.rr.com (8.9.3/8.9.3) with SMTP id SAA16182 for ; Tue, 10 Oct 2000 18:50:29 -0400 (EDT) Message-ID: <000701c0330c$41108640$02c810b0@andy.compudorm.com> From: "A Minkstein" To: Subject: apxs and jakarta-tomcat Date: Tue, 10 Oct 2000 18:48:47 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0004_01C032EA.B94F6C60" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0004_01C032EA.B94F6C60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am installing Jakarta-Tomcat to work with my existing Apache server. = It says in the directions that I need to compile the mod_jserv.so from = the source files of Tomcat. I dowloaded them and I went to the = directory where the source files are contained for the mod. I have = apache configured for DSO support but when I type the command: $ apxs -c *.c -o mod_jserv.so=20 I get the output: gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED = -I/usr/local /apache/include -c autochange.c gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED = -I/usr/local /apache/include -c jserv_ajpv11.c gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED = -I/usr/local /apache/include -c jserv_ajpv12.c gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED = -I/usr/local /apache/include -c jserv_balance.c gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED = -I/usr/local /apache/include -c jserv_image.c gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED = -I/usr/local /apache/include -c jserv_mmap.c gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED = -I/usr/local /apache/include -c jserv_protocols.c gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED = -I/usr/local /apache/include -c jserv_status.c gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED = -I/usr/local /apache/include -c jserv_utils.c gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED = -I/usr/local /apache/include -c jserv_watchdog.c gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED = -I/usr/local /apache/include -c jserv_wrapper.c gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED = -I/usr/local /apache/include -c jserv_wrapper_unix.c gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED = -I/usr/local /apache/include -c jserv_wrapper_win.c gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED = -I/usr/local /apache/include -c mod_jserv.c -o autochange.so mod_jserv.o jserv_wrapper_win.o jserv_wrapper_unix.o = jserv_wr apper.o jserv_watchdog.o jserv_utils.o jserv_status.o jserv_protocols.o = jserv_mm ap.o jserv_image.o jserv_balance.o jserv_ajpv12.o jserv_ajpv11.o = autochange.o -o mod_jserv.so apxs:Break: Command failed with rc=3D16711680 Once that break command comes up, mod_jserv.so does not get compiled so = I cannot add it to Apache. What can I do? How can apxs to compile those files so that it will work? Any Suggestions? Andy M. ------=_NextPart_000_0004_01C032EA.B94F6C60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am installing Jakarta-Tomcat to work with my = existing Apache=20 server.  It says in the directions that I need to compile the = mod_jserv.so=20 from the source files of Tomcat.  I dowloaded them and I went to = the=20 directory where the source files are contained for the mod.  I have = apache=20 configured for DSO support but when I type the command:
 
$ apxs -c *.c -o mod_jserv.so=20
 
I get the = output:
 
gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite = -DNO_DL_NEEDED =20 -I/usr/local
/apache/include  -c autochange.c
gcc = -funsigned-char=20 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED =20 -I/usr/local
/apache/include  -c jserv_ajpv11.c
gcc = -funsigned-char=20 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED =20 -I/usr/local
/apache/include  -c jserv_ajpv12.c
gcc = -funsigned-char=20 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED =20 -I/usr/local
/apache/include  -c jserv_balance.c
gcc = -funsigned-char=20 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED =20 -I/usr/local
/apache/include  -c jserv_image.c
gcc -funsigned-char -DUSE_EXPAT=20 -I../lib/expat-lite -DNO_DL_NEEDED  = -I/usr/local
/apache/include =20 -c jserv_mmap.c
gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite=20 -DNO_DL_NEEDED  -I/usr/local
/apache/include  -c=20 jserv_protocols.c
gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite = -DNO_DL_NEEDED  -I/usr/local
/apache/include  -c=20 jserv_status.c
gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite=20 -DNO_DL_NEEDED  -I/usr/local
/apache/include  -c=20 jserv_utils.c
gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite=20 -DNO_DL_NEEDED  -I/usr/local
/apache/include  -c=20 jserv_watchdog.c
gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite=20 -DNO_DL_NEEDED  -I/usr/local
/apache/include  -c=20 jserv_wrapper.c
gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite=20 -DNO_DL_NEEDED  -I/usr/local
/apache/include  -c=20 jserv_wrapper_unix.c
gcc -funsigned-char -DUSE_EXPAT = -I../lib/expat-lite=20 -DNO_DL_NEEDED  -I/usr/local
/apache/include  -c=20 jserv_wrapper_win.c
gcc -funsigned-char -DUSE_EXPAT = -I../lib/expat-lite=20 -DNO_DL_NEEDED  -I/usr/local
/apache/include  -c=20 mod_jserv.c
  -o autochange.so mod_jserv.o jserv_wrapper_win.o=20 jserv_wrapper_unix.o jserv_wr
apper.o jserv_watchdog.o jserv_utils.o=20 jserv_status.o jserv_protocols.o jserv_mm
ap.o jserv_image.o = jserv_balance.o=20 jserv_ajpv12.o jserv_ajpv11.o autochange.o=20 -o
 mod_jserv.so
apxs:Break: Command failed with=20 rc=3D16711680
 
Once that break command comes up, = mod_jserv.so does not get compiled so I cannot add it to Apache.  = What can=20 I do?
How can apxs to compile those = files so that=20 it will work?
 
Any = Suggestions?
 
Andy=20 M.
------=_NextPart_000_0004_01C032EA.B94F6C60-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message