From owner-freebsd-java Fri Mar 9 16:40:49 2001 Delivered-To: freebsd-java@freebsd.org Received: from pluto.senet.com.au (pluto.senet.com.au [203.56.239.150]) by hub.freebsd.org (Postfix) with ESMTP id AED4F37B718 for ; Fri, 9 Mar 2001 16:40:46 -0800 (PST) (envelope-from glewis@misty.eyesbeyond.com) Received: from misty.eyesbeyond.com (c22-fr-p232.senet.com.au [172.16.22.233]) by pluto.senet.com.au (8.11.0/8.11.0) with ESMTP id f2A0ecl27717; Sat, 10 Mar 2001 11:10:38 +1030 (CST) (envelope-from glewis@misty.eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.1/8.11.1) id f2A0eH765224; Sat, 10 Mar 2001 11:10:17 +1030 (CST) (envelope-from glewis) Date: Sat, 10 Mar 2001 11:10:17 +1030 From: Greg Lewis To: Greg Lewis Cc: Daichi GOTO , Tim Zingelman , freebsd-java@FreeBSD.ORG Subject: Re: Tomcat for BSD (was: RE: Trying to Create a simple Bean) Message-ID: <20010310111017.A65197@misty.eyesbeyond.com> References: <84744572.984140838459.JavaMail.daichi@localhost> <20010310084224.B64357@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010310084224.B64357@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Sat, Mar 10, 2001 at 08:42:24AM +1030 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Following up myself... On Sat, Mar 10, 2001 at 08:42:24AM +1030, Greg Lewis wrote: > Gah. You only need to change two lines. The first change allows you to > set APACHE_HOME as an environment variable for wherever you have it > installed. The second change means you don't need any thread packages and > fixes the compile of jk_util.c (-DLINUX in Makefile.freebsd must be a bug). You may actually be ok leaving the -pthread -D_REENTRANT part of CFLAGS in. It made apache barf for me, but I don't use the ports version. Regardless of this, I still believe Makefile.freebsd only needs two lines patched to compile mod_jk for the native JDKs. You probably need to change the OS=freebsd line to OS=linux to get it to compile with the Linux JDKs however. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message