Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2006 18:27:29 +0300
From:      Boris Samorodov <bsam@ipt.ru>
To:        "Andy Harrison" <aharrison@gmail.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: linux-sun-jdk15, Syntax error: word unexpected (expecting ")")
Message-ID:  <47316894@srv.sem.ipt.ru>
In-Reply-To: <a22ff2940611220707h513512c4nb170dad6271f8fa7@mail.gmail.com> (Andy Harrison's message of "Wed, 22 Nov 2006 10:07:44 -0500")
References:  <a22ff2940611220707h513512c4nb170dad6271f8fa7@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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