Date: Fri, 23 Jun 2000 10:23:52 +1000 From: "Joe Shevland" <shevlandj@kpi.com.au> To: "Jan Grant" <Jan.Grant@bristol.ac.uk> Cc: "FreeBSD Mailing List" <freebsd-java@FreeBSD.ORG> Subject: RE: mod_jserv and Tomcat Message-ID: <MJEMLFCFPOPOFFFLIIDGCEDCCAAA.shevlandj@kpi.com.au> In-Reply-To: <Pine.GHP.4.21.0006221553330.12683-100000@mail.ilrt.bris.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Hey thanks a lot Jan, I won't have time to try this until the weekend = but I'll let you know how it goes. Cheers, Joe -----Original Message----- From: owner-freebsd-java@FreeBSD.ORG [mailto:owner-freebsd-java@FreeBSD.ORG]On Behalf Of Jan Grant Sent: Friday, 23 June 2000 1:01 AM To: Joe Shevland Cc: FreeBSD Mailing List Subject: RE: mod_jserv and Tomcat On Thu, 22 Jun 2000, Joe Shevland wrote: > I was just starting to look at this last night. >=20 > When I attempted to compile mod_jserv from the Tomcat 3.1 source = distribution, I received an error because I haven't used DSO support in = Apache. Is there: >=20 > i) a precompiled mod_jserv binary for 3.4/Apache 1.3.12 anywhere? > ii) another way to build this in the absense of DSO/apxs? Yes, this is what I've done. it was a bit hacky, but basically: (from memory and examining the entrails of my apache build directory) - untar the jserv stuff (from the tomcat distribution) into apache/src/modules/jserv. - config apache with "--activate-module=3Dsrc/modules/jserv/libjserv.a" - run make (this'll fail; the makefile supplied doesn't know how to build libjserv.a) - cd into the apache/src/modules/jserv directory and run gcc directly on every .c file: gcc -c -I../../os/unix -I../../include \ -funsigned-char -DUSE_EXPAT \ -I../../lib/expat-lite -DNO_DL_NEEDED \ `../../apaci` *.c ..should do it. Then (I think, check the man page for ar for this) ar rc libjserv.a *.o ranlib libjserv.a cd back up and rerun the top-level make; everything should go from that point. It's ugly, but mod_jserv's makefile isn't set up to handle static compilation; this method is hacky but works. Drop me a line if you have any problems with this, I'll build apache again from source and give you a complete list of instructions. jan --=20 jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287163 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk Leverage that synergy! Ooh yeah, looking good! Now stretch - and relax. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?MJEMLFCFPOPOFFFLIIDGCEDCCAAA.shevlandj>