From owner-freebsd-java@FreeBSD.ORG Mon Jul 12 21:05:22 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E71416A4CE for ; Mon, 12 Jul 2004 21:05:22 +0000 (GMT) Received: from fuf.mingrone.org (fuf.mingrone.org [204.251.2.34]) by mx1.FreeBSD.org (Postfix) with SMTP id 99D4C43D2D for ; Mon, 12 Jul 2004 21:05:21 +0000 (GMT) (envelope-from joey@mingrone.org) Received: (qmail 83096 invoked from network); 12 Jul 2004 21:05:20 -0000 Received: from fuf.mingrone.org (HELO localhost) (204.251.2.34) by fuf.mingrone.org with SMTP; 12 Jul 2004 21:05:20 -0000 From: Joey Mingrone To: Alexander Lunyov , "Brandon D. Valentine" , Ronald Klop Date: Mon, 12 Jul 2004 18:05:11 -0300 User-Agent: KMail/1.6.2 References: <200407121216.26783.joey@mingrone.org> <585125035.20040712195609@startatom.ru> In-Reply-To: <585125035.20040712195609@startatom.ru> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200407121805.11397.joey@mingrone.org> cc: freebsd-java@freebsd.org Subject: Re: FreeBSD Port: jdk-1.4.2p6_4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 21:05:22 -0000 On July 12, 2004 12:56, Alexander Lunyov wrote: > Hello Joey, > > Monday, July 12, 2004, 7:16:26 PM, you wrote: > > JM> Hi, > > JM> I'm getting the error below when installing this port. I've seen > similar JM> questions on some of the mailing lists, but can't tell if this > is a problem JM> with the port or my setup. Please let me know if there is > anything other JM> information I can provide. > > JM> Thanks, > > JM> Joey > > JM> System: 5.2.1-RELEASE-p9 > JM> Error: > JM> .... > JM> /../src/solaris/classes/java/io/UnixFileSystem.java > JM> ../../../src/solaris/classes/java/util/prefs/FileSystemPreferences.java > JM> > ../../../src/solaris/classes/java/util/prefs/FileSystemPreferencesFactory.j >ava JM> ../../../src/solaris/classes/sun/io/ByteToCharCOMPOUND_TEXT.java JM> > ../../../src/solaris/classes/sun/io/CharToByteCOMPOUND_TEXT.java JM> > ../../../src/solaris/classes/sun/io/CompoundTextSupport.java > JM> > /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/lang/Characte >r.java JM> ../../../src/share/classes/sun/misc/AtomicLong.java > JM> ../../../src/share/classes/sun/misc/AtomicLongCSImpl.java > JM> ../../../src/share/classes/sun/misc/AtomicLongLockImpl.java ; > JM> \ > JM> fi > JM> Java HotSpot(TM) Client VM warning: Can't detect initial thread stack > location JM> > /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/Currency >Data.java:1: JM> 'class' or 'interface' expected > JM> Java HotSpot(TM) Client VM warning: Can't detect initial thread stack > location JM> ^ > JM> > /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/Currency >Data.java:1: JM> unclosed character literal > > Manually edit file > /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/Currency >Data.java:1, you will have to erase first line (there will be string "Can't > detect initial thread stack location"). Hey all, Your suggestions did the trick. I deleted the top line from /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java and the build stopped again and told me about what you said Brandon (linux and linprocfs KLDs have to be loaded and you have to mount a linprocfs filesystem on /compat/linux/proc). After that the build finished successfully. Thanks for your help, Joey