From owner-freebsd-questions@FreeBSD.ORG Fri Dec 10 17:40:27 2004 Return-Path: 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 444B816A4CE for ; Fri, 10 Dec 2004 17:40:27 +0000 (GMT) Received: from catflap.slightlystrange.org (cpc2-cmbg1-3-0-cust94.cmbg.cable.ntl.com [213.107.104.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC9EF43D53 for ; Fri, 10 Dec 2004 17:40:26 +0000 (GMT) (envelope-from danielby@slightlystrange.org) Received: from danielby by catflap.slightlystrange.org with local (Exim 4.43 (FreeBSD)) id 1Ccoki-0004lh-QR for freebsd-questions@freebsd.org; Fri, 10 Dec 2004 17:40:24 +0000 Date: Fri, 10 Dec 2004 17:40:24 +0000 From: Daniel Bye To: FreeBSD_Questions Message-ID: <20041210174024.GA18226@catflap.slightlystrange.org> Mail-Followup-To: FreeBSD_Questions References: <072701c4ded9$4687a220$9a11a8c0@d3stomc> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline In-Reply-To: <072701c4ded9$4687a220$9a11a8c0@d3stomc> User-Agent: Mutt/1.4.2.1i Subject: Re: JDK14 fails to install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2004 17:40:27 -0000 --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 10, 2004 at 09:57:04AM -0700, Tom Connolly wrote: > Hello List, > I'm trying to do a fresh install of the jdk14 port and I get the > following error: > =20 > o linux-sun-jdk-1.4.2.05 [---snip---] > gmake: *** [j2se-build] Error 2 >=20 > *** Error code 2 > =20 > Can anyone provide some help with this? This has come up several times recently. The Linux Sun JDK (which is used to bootstrap the build of the native JDK) requires that the Linux procfs system is available. Add this to your /etc/fstab: linprocfs /compat/linux/proc linprocfs rw 0 0 and then, as root: kldload linprocfs mount /compat/linux/proc You can then restart the build of the native JDK. FYI, this is mentioned in the linux-sun-jdk* ports' pkg-message files. Once the native JDK is built and installed, you can remove the Linux one, and you will no longer need to mount the linprocfs. HTH Dan --=20 Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBud+IhvzwOpChvo8RAj8ZAJ9ueR/3VHTnRwgBWTplCMSqoMBmWwCdHjZp r3IPk4dYsR1gT/MJVybHeC0= =cjaI -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS--