From owner-freebsd-java Fri Nov 9 21:21:23 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 427C737B41D for ; Fri, 9 Nov 2001 21:21:19 -0800 (PST) Received: from [166.70.2.58] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 162QZw-0003wm-00; Fri, 09 Nov 2001 22:21:17 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id fAA3Lh091663; Sat, 10 Nov 2001 13:51:43 +1030 (CST) (envelope-from glewis) Date: Sat, 10 Nov 2001 13:50:28 +1030 From: Greg Lewis To: Chris Jordan Cc: freebsd-java@FreeBSD.ORG Subject: Re: Dependencies of the native jdk13 port Message-ID: <20011110135027.A91645@misty.eyesbeyond.com> References: <3BEBF5D7.994D76D2@corp.earthlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3BEBF5D7.994D76D2@corp.earthlink.net>; from cwjordan@corp.earthlink.net on Fri, Nov 09, 2001 at 10:27:19AM -0500 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 On Fri, Nov 09, 2001 at 10:27:19AM -0500, Chris Jordan wrote: > I ran into a slight problem compiling the native jdk13 port (on > 4.2-STABLE), I hope someone might have a clue what went wrong. Briefly, > I went into /usr/ports/java/jdk13, typed make, followed the instructions > to download the software and the patch file, typed make again, and I got > an error: "BOOTDIR does not point to a valid Java 2 SDK". I poke around > with google, and I figure out I need to install the linux-jdk13 port > first. Okay, that's fine with me, and now the compile seems to be > working correctly, but I thought, why isn't the linux-jdk13 listed as a > dependency of the native jdk13 port? > > So I looked at the Makefile, and in fact the linux-jdk is listed under > BUILD_DEPENDS there. So my question is, why didn't make go out and try > to install the linux-jdk13 port? Has this happened to anyone else, or > was there something flakey in my setup? The actual problem lies in the linux-jdk13 port. It too requires that the JDK (in this case the Linux bundle from Sun) be downloaded manually. So, when the native port tries to build it as a dependency the linux-jdk13 port will just write a message that you need to download the JDK from Sun and exit (if you haven't downloaded it earlier), apparently successful. The native port then continues on with its business until the build actually starts when the lack of a bootstrapping JDK suddenly bites. The linux-jdk13 port actually needs to error when the distfiles aren't present instead of writing the message and exiting. Then the native port would detect this and stop, allowing the user to take the appropriate action. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 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