Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2006 10:07:44 -0500
From:      "Andy Harrison" <aharrison@gmail.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   linux-sun-jdk15, Syntax error: word unexpected (expecting ")")
Message-ID:  <a22ff2940611220707h513512c4nb170dad6271f8fa7@mail.gmail.com>

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

-- 
Andy Harrison



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