From owner-freebsd-java Sun May 27 21:31:41 2001 Delivered-To: freebsd-java@freebsd.org Received: from matrix.dynamic-cast.com (r175-5-dsl.sea.lightrealm.net [216.122.5.175]) by hub.freebsd.org (Postfix) with ESMTP id 11A9337B43E for ; Sun, 27 May 2001 21:31:38 -0700 (PDT) (envelope-from herveyw@dynamic-cast.com) Received: from chillipepper (chillipepper.dynamic-cast.com [192.168.1.1]) by matrix.dynamic-cast.com (8.11.3/8.11.3) with SMTP id f4S4VUa94707; Sun, 27 May 2001 21:31:31 -0700 (PDT) (envelope-from herveyw@dynamic-cast.com) Message-ID: <001b01c0e72f$527e1e10$0101a8c0@dynamiccast.com> From: "Hervey Wilson" To: "Calvin NG" , "Bryan Liesner" Cc: "Lanny Baron" , References: <01052722011204.34260@panda.FreeBSDsystems.COM> <20010527221148.O465-100000@gravy.kishka.net> <20010528122148.D24122@brel.com> Subject: Re: mod_jk won't build on FreeBSD Date: Sun, 27 May 2001 21:33:19 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org From: "Calvin NG" > > considering that mod_jk is now a port, (www/mod_jk). I think it will > the easiest to use to build and install mod_jk. > This is certainly true if you're using the native jdk1.1.8 vm. However, if you're using the linux-jdk1.3.0 then you still need to tweak makefile.freebsd that comes in the port collection. Specifically, I had to change the line: OS=freebsd to: OS=linux but left the -DFREEBSD in the compile steps alone. Without this change, the make fails because I don't have an include directory for freebsd and the jni.h file doesn't exist. Changing this line allows the make to pick up the linux jdk header files. Of course, you also need to tweak the root Makefile for the port so that it depends on linux-jdk1.3.0 not the native jdk1.1.8 port. Anyway, that lot worked for me, your mileage may vary ;) H. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message