Date: Tue, 10 Oct 2000 18:48:47 -0400 From: "A Minkstein" <andy0383@twcny.rr.com> To: <freebsd-questions@FreeBSD.ORG> Subject: apxs and jakarta-tomcat Message-ID: <000701c0330c$41108640$02c810b0@andy.compudorm.com>
next in thread | raw e-mail | index | archive | help
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 <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <META content=3Dtext/html;charset=3Diso-8859-1 = http-equiv=3DContent-Type> <META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT size=3D2>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:</FONT></DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV><FONT size=3D2><TT><FONT size=3D2>$ apxs -c *.c -o mod_jserv.so=20 </FONT></TT></FONT></DIV> <DIV><FONT size=3D2><TT><FONT size=3D2></FONT></TT></FONT> </DIV> <DIV><FONT size=3D2><TT><FONT size=3D2>I get the = output:</FONT></TT></FONT></DIV> <DIV><FONT size=3D2><TT><FONT size=3D2></FONT></TT></FONT> </DIV> <DIV><FONT size=3D2><TT><FONT size=3D2></FONT></TT></FONT><FONT = face=3D"Courier New"=20 size=3D2>gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite = -DNO_DL_NEEDED =20 -I/usr/local<BR>/apache/include -c autochange.c<BR>gcc = -funsigned-char=20 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED =20 -I/usr/local<BR>/apache/include -c jserv_ajpv11.c<BR>gcc = -funsigned-char=20 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED =20 -I/usr/local<BR>/apache/include -c jserv_ajpv12.c<BR>gcc = -funsigned-char=20 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED =20 -I/usr/local<BR>/apache/include -c jserv_balance.c<BR>gcc = -funsigned-char=20 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED =20 -I/usr/local<BR>/apache/include -c jserv_image.c</FONT></DIV> <DIV><FONT size=3D2><TT><FONT size=3D2>gcc -funsigned-char -DUSE_EXPAT=20 -I../lib/expat-lite -DNO_DL_NEEDED = -I/usr/local<BR>/apache/include =20 -c jserv_mmap.c<BR>gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite=20 -DNO_DL_NEEDED -I/usr/local<BR>/apache/include -c=20 jserv_protocols.c<BR>gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite = -DNO_DL_NEEDED -I/usr/local<BR>/apache/include -c=20 jserv_status.c<BR>gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite=20 -DNO_DL_NEEDED -I/usr/local<BR>/apache/include -c=20 jserv_utils.c<BR>gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite=20 -DNO_DL_NEEDED -I/usr/local<BR>/apache/include -c=20 jserv_watchdog.c<BR>gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite=20 -DNO_DL_NEEDED -I/usr/local<BR>/apache/include -c=20 jserv_wrapper.c<BR>gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite=20 -DNO_DL_NEEDED -I/usr/local<BR>/apache/include -c=20 jserv_wrapper_unix.c<BR>gcc -funsigned-char -DUSE_EXPAT = -I../lib/expat-lite=20 -DNO_DL_NEEDED -I/usr/local<BR>/apache/include -c=20 jserv_wrapper_win.c<BR>gcc -funsigned-char -DUSE_EXPAT = -I../lib/expat-lite=20 -DNO_DL_NEEDED -I/usr/local<BR>/apache/include -c=20 mod_jserv.c<BR> -o autochange.so mod_jserv.o jserv_wrapper_win.o=20 jserv_wrapper_unix.o jserv_wr<BR>apper.o jserv_watchdog.o jserv_utils.o=20 jserv_status.o jserv_protocols.o jserv_mm<BR>ap.o jserv_image.o = jserv_balance.o=20 jserv_ajpv12.o jserv_ajpv11.o autochange.o=20 -o<BR> mod_jserv.so<BR>apxs:Break: Command failed with=20 rc=3D16711680</FONT></TT></FONT></DIV> <DIV><FONT size=3D2><TT><FONT size=3D2></FONT></TT></FONT> </DIV> <DIV><FONT size=3D2><TT><FONT size=3D2>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?</FONT></TT></FONT></DIV> <DIV><FONT size=3D2><TT><FONT size=3D2>How can apxs to compile those = files so that=20 it will work?</FONT></TT></FONT></DIV> <DIV><FONT size=3D2><TT><FONT size=3D2></FONT></TT></FONT> </DIV> <DIV><FONT size=3D2><TT><FONT size=3D2>Any = Suggestions?</FONT></TT></FONT></DIV> <DIV><FONT size=3D2><TT><FONT size=3D2></FONT></TT></FONT> </DIV> <DIV><FONT size=3D2><TT><FONT size=3D2>Andy=20 M.<BR></FONT></TT></FONT></DIV></BODY></HTML> ------=_NextPart_000_0004_01C032EA.B94F6C60-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701c0330c$41108640$02c810b0>