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>
index | next in thread | raw e-mail
[-- Attachment #1 --] 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 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=16711680 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. [-- Attachment #2 --] <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <META content=text/html;charset=iso-8859-1 http-equiv=Content-Type> <META content='"MSHTML 4.72.3110.7"' name=GENERATOR> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT size=2>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:</FONT></DIV> <DIV><FONT size=2></FONT> </DIV> <DIV><FONT size=2><TT><FONT size=2>$ apxs -c *.c -o mod_jserv.so </FONT></TT></FONT></DIV> <DIV><FONT size=2><TT><FONT size=2></FONT></TT></FONT> </DIV> <DIV><FONT size=2><TT><FONT size=2>I get the output:</FONT></TT></FONT></DIV> <DIV><FONT size=2><TT><FONT size=2></FONT></TT></FONT> </DIV> <DIV><FONT size=2><TT><FONT size=2></FONT></TT></FONT><FONT face="Courier New" size=2>gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local<BR>/apache/include -c autochange.c<BR>gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local<BR>/apache/include -c jserv_ajpv11.c<BR>gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local<BR>/apache/include -c jserv_ajpv12.c<BR>gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local<BR>/apache/include -c jserv_balance.c<BR>gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local<BR>/apache/include -c jserv_image.c</FONT></DIV> <DIV><FONT size=2><TT><FONT size=2>gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local<BR>/apache/include -c jserv_mmap.c<BR>gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local<BR>/apache/include -c jserv_protocols.c<BR>gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local<BR>/apache/include -c jserv_status.c<BR>gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local<BR>/apache/include -c jserv_utils.c<BR>gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local<BR>/apache/include -c jserv_watchdog.c<BR>gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local<BR>/apache/include -c jserv_wrapper.c<BR>gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local<BR>/apache/include -c jserv_wrapper_unix.c<BR>gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local<BR>/apache/include -c jserv_wrapper_win.c<BR>gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local<BR>/apache/include -c mod_jserv.c<BR> -o autochange.so mod_jserv.o jserv_wrapper_win.o jserv_wrapper_unix.o jserv_wr<BR>apper.o jserv_watchdog.o jserv_utils.o jserv_status.o jserv_protocols.o jserv_mm<BR>ap.o jserv_image.o jserv_balance.o jserv_ajpv12.o jserv_ajpv11.o autochange.o -o<BR> mod_jserv.so<BR>apxs:Break: Command failed with rc=16711680</FONT></TT></FONT></DIV> <DIV><FONT size=2><TT><FONT size=2></FONT></TT></FONT> </DIV> <DIV><FONT size=2><TT><FONT size=2>Once that break command comes up, mod_jserv.so does not get compiled so I cannot add it to Apache. What can I do?</FONT></TT></FONT></DIV> <DIV><FONT size=2><TT><FONT size=2>How can apxs to compile those files so that it will work?</FONT></TT></FONT></DIV> <DIV><FONT size=2><TT><FONT size=2></FONT></TT></FONT> </DIV> <DIV><FONT size=2><TT><FONT size=2>Any Suggestions?</FONT></TT></FONT></DIV> <DIV><FONT size=2><TT><FONT size=2></FONT></TT></FONT> </DIV> <DIV><FONT size=2><TT><FONT size=2>Andy M.<BR></FONT></TT></FONT></DIV></BODY></HTML>help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701c0330c$41108640$02c810b0>
