Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Dec 2004 17:40:24 +0000
From:      Daniel Bye <freebsd-questions@slightlystrange.org>
To:        FreeBSD_Questions <freebsd-questions@freebsd.org>
Subject:   Re: JDK14 fails to install
Message-ID:  <20041210174024.GA18226@catflap.slightlystrange.org>
In-Reply-To: <072701c4ded9$4687a220$9a11a8c0@d3stomc>
References:  <072701c4ded9$4687a220$9a11a8c0@d3stomc>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041210174024.GA18226>