From owner-freebsd-java Thu Jun 22 17:23:12 2000 Delivered-To: freebsd-java@freebsd.org Received: from www.kpi.com.au (www.kpi.com.au [203.39.132.210]) by hub.freebsd.org (Postfix) with ESMTP id C25D837B797 for ; Thu, 22 Jun 2000 17:23:06 -0700 (PDT) (envelope-from shevlandj@kpi.com.au) Received: from grail (www.kpi.com.au [203.39.132.210]) by www.kpi.com.au (8.9.3/8.9.3) with SMTP id KAA06870; Fri, 23 Jun 2000 10:23:03 +1000 (EST) (envelope-from shevlandj@kpi.com.au) From: "Joe Shevland" To: "Jan Grant" Cc: "FreeBSD Mailing List" Subject: RE: mod_jserv and Tomcat Date: Fri, 23 Jun 2000 10:23:52 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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