linux-sun-jdk15, Syntax error: word unexpected (expecting ")")

Boris Samorodov bsam at ipt.ru
Wed Nov 22 07:27:03 PST 2006


On Wed, 22 Nov 2006 10:07:44 -0500 Andy Harrison wrote:

> I'm trying to install jdk15 because I need it to access the ilom on
> some Sun x4100 boxes.  Has anyone else seen or know how to handle this
> error message?  I tried both bash and tcsh with a clean env just to
> see if that might be mucking something up.  No luck...



> # make -D DISABLE_VULNERABILITIES extract
> ======================================================================
> Warning: This JDK may be unstable. You are advised to use the native
> FreeBSD 1.5 JDK, in ports/java/jdk15.

> This Java VM will attempt to obtain some system information by
> accessing files in linux's procfs.  You must install the Linux
> emulation procfs filesystem for this to work correctly.  The JVM
> will exhibit various problems otherwise.  This can be accomplished
> by adding the following line to your /etc/fstab file:

> linprocfs   /compat/linux/proc   linprocfs   rw   0  0

> and then, as root, executing the commands:

> kldload linprocfs
> mount /compat/linux/proc

> ======================================================================
> ===>  Extracting for linux-sun-jdk-1.5.0.09
> => MD5 Checksum OK for jdk-1_5_0_09-linux-i586.bin.
> => SHA256 Checksum OK for jdk-1_5_0_09-linux-i586.bin.
> ===>   linux-sun-jdk-1.5.0.09 depends on file:
> /compat/linux/etc/fedora-release - found
> /usr/ports/java/linux-sun-jdk15/work/install.sfx: 1: Syntax error:
> word unexpected (expecting ")")
> *** Error code 2

> Stop in /usr/ports/java/linux-sun-jdk15.


> I'm running FreeBSD 6.1-RELEASE-p10 and I already have
> linux-firefox-2.0 working well with linux-sun-jdk-1.4.2.12.  And as of
> yesterday, all my ports are current.

> Any suggestions?

You didn't mention if by a chance you did follow those instructions
about linprocfs...


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve


More information about the freebsd-questions mailing list