From owner-freebsd-questions@FreeBSD.ORG Mon Jun 12 20:28:11 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6844616A41F for ; Mon, 12 Jun 2006 20:28:11 +0000 (UTC) (envelope-from nikolas.britton@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7844A43D6E for ; Mon, 12 Jun 2006 20:28:10 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by nz-out-0102.google.com with SMTP id 4so1251034nzn for ; Mon, 12 Jun 2006 13:28:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CmNubuqwIcL0QiJdkMXCP55wbrjF+8OBTD+8V1soTJlRzUvol3BdFAIX3TeCHnMoqcGcVBH44UQqt/ycrMPJqMCXdqGViVg59dYYX6PUYLE2BrfaQI0GrsVKJRPtKYtuZzNYhoN01ci0wJXUSB06Ek+z0HxB9pWvZQiFKY2Nmxg= Received: by 10.36.105.5 with SMTP id d5mr9381077nzc; Mon, 12 Jun 2006 13:28:09 -0700 (PDT) Received: by 10.36.101.10 with HTTP; Mon, 12 Jun 2006 13:28:08 -0700 (PDT) Message-ID: Date: Mon, 12 Jun 2006 15:28:08 -0500 From: "Nikolas Britton" To: Peter In-Reply-To: <20060612194226.69494.qmail@web60018.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060612194226.69494.qmail@web60018.mail.yahoo.com> Cc: freebsd-questions Subject: Re: seeking advice on building jdk15 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2006 20:28:11 -0000 On 6/12/06, Peter wrote: > I succeeded in building jdk14 instead. My manual downloads were: > > j2sdk-1_4_2_11-linux-i586.bin > j2sdk-1_4_2-bin-scsl.zip > j2sdk-1_4_2-src-scsl.zip > bsd-jdk14-patches-8.tar.gz > > The port instructions added an extra step. It had me mount a simulated > linux proc filesystem: > > linprocfs on /usr/compat/linux/proc (linprocfs, local) > > I am now in the middle of compiling OpenOffice which was my original > goal. > > What is the bootstrap you speak of? Right here in the jdk15 Makefile: .if !defined(WITH_LINUX_BOOTSTRAP) .if ${MACHINE_ARCH} == "i386" NATIVE_BOOTSTRAP_JDKS+= ${LOCALBASE}/diablo-jdk1.5.0 .endif NATIVE_BOOTSTRAP_JDKS+= ${LOCALBASE}/jdk1.5.0 \ ${LOCALBASE}/jdk1.4.2 .endif If you install the diablo-jdk15 port first you can use it to build the jdk15 port (bootstrapping) and you won't need to mess with linux-sun-jdk14. After your done installing jdk15 you can remove diablo-jdk15 from the system, it's only a build requirement and now that jdk15 is built and installed you can use that to bootstrap future jdk15 builds. So... it's really simple: # cd /usr/ports/java/diablo-jdk15; make install # cd ../jdk15; make install clean # cd ../diablo-jdk15; make deinstall clean -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/