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

2006-11-22 Thread Andy Harrison

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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2006-11-22 Thread Boris Samorodov
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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2006-11-22 Thread Andy Harrison

On 11/22/06, Boris Samorodov [EMAIL PROTECTED] wrote:

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



Yes, it's mounted.

# grep lin /etc/fstab
linprocfs   /compat/linux/proc  linprocfs   rw
0   0

# mount | grep lin
linprocfs on /usr/compat/linux/proc (linprocfs, local)

--
Andy Harrison
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2006-11-22 Thread Boris Samorodov
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:

Where did you get the version 1.5.0.09? I checked out cvsweb, and
there is 1.5.0.07.

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


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2006-11-22 Thread Andy Harrison

On 11/22/06, Boris Samorodov [EMAIL PROTECTED] wrote:


Where did you get the version 1.5.0.09? I checked out cvsweb, and
there is 1.5.0.07.


Doh!  Sorry...  totally spaced out.  I forgot that last month I had
updated the Makefile to try to use the new version since 1.5.0.07 can
no longer be obtained from the Sun website.

# diff old.Makefile Makefile

[EMAIL PROTECTED]:/usr/ports/java/linux-sun-jdk15]
5c5
 # $FreeBSD: /repoman/r/pcvs/ports/java/linux-sun-jdk15/Makefile,v
1.21 2006/06/13 19:51:13 glewis Exp $
---

# $FreeBSD: ports/java/linux-sun-jdk15/Makefile,v 1.21 2006/06/13 19:51:13 
glewis Exp $

10c10
 PORTEPOCH=2
---

#PORTEPOCH=   2

35c35
 JDK_REVISION= 07
---

JDK_REVISION= 09



So anyway, probably not a good question for this list ;)


--
Andy Harrison
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]