JDK14 fails to install

Daniel Bye freebsd-questions at slightlystrange.org
Fri Dec 10 09:40:27 PST 2004


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:
>  
> o linux-sun-jdk-1.4.2.05

[---snip---]

> gmake: *** [j2se-build] Error 2
> 
> *** Error code 2
>  
> 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

-- 
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 / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041210/8a4040fd/attachment.bin


More information about the freebsd-questions mailing list