Date: Sun, 27 May 2001 21:33:19 -0700 From: "Hervey Wilson" <herveyw@dynamic-cast.com> To: "Calvin NG" <calvinng@brel.com>, "Bryan Liesner" <bleez@bellatlantic.net> Cc: "Lanny Baron" <lnb@FreeBSDsystems.COM>, <freebsd-java@FreeBSD.ORG> Subject: Re: mod_jk won't build on FreeBSD Message-ID: <001b01c0e72f$527e1e10$0101a8c0@dynamiccast.com> References: <01052722011204.34260@panda.FreeBSDsystems.COM> <20010527221148.O465-100000@gravy.kishka.net> <20010528122148.D24122@brel.com>
next in thread | previous in thread | raw e-mail | index | archive | help
From: "Calvin NG" <calvinng@brel.com> > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001b01c0e72f$527e1e10$0101a8c0>