From owner-freebsd-java Sun Nov 4 14:26:47 2001 Delivered-To: freebsd-java@freebsd.org Received: from mta3.srv.hcvlny.cv.net (mta3.srv.hcvlny.cv.net [167.206.5.9]) by hub.freebsd.org (Postfix) with ESMTP id 62CC237B41A; Sun, 4 Nov 2001 14:26:25 -0800 (PST) Received: from localhost (ool-18be4d4b.dyn.optonline.net [24.190.77.75]) by mta3.srv.hcvlny.cv.net (iPlanet Messaging Server 5.0 Patch 2 (built Dec 14 2000)) with ESMTP id <0GMA009SURNBA2@mta3.srv.hcvlny.cv.net>; Sun, 04 Nov 2001 17:26:05 -0500 (EST) Date: Sun, 04 Nov 2001 17:23:19 -0500 From: John Clayton Subject: Re: problem intalling the jdk13 port In-reply-to: To: John Clayton Cc: Greg Lewis , John Clayton , sobomax@FreeBSD.ORG, freebsd-java@FreeBSD.ORG Message-id: <8CA4A2B9-D172-11D5-B281-000A279339CE@5squaresoftware.com> MIME-version: 1.0 X-Mailer: Apple Mail (2.472) Content-type: multipart/alternative; boundary="Boundary_(ID_Ekm4D1Q5BsJDRGt0IIV2dw)" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --Boundary_(ID_Ekm4D1Q5BsJDRGt0IIV2dw) Content-type: text/plain; charset=US-ASCII; format=flowed Content-transfer-encoding: 7BIT OK, forgive me for going on here, but i figure this is the best place to do it ; ) I sifted through the way things are set up here, and no matter what I specified as PORTSDIR, it always copied the CWD into /usr/tmp/CWD/work. I'm on a virtual disk here and it seems /usr/tmp may be a symlink of sorts. So, I set WRKDIR on the command line to /builds and ran make again. And ... I got past the InvokersGen error!!!! Got a lot farther and received this error: rm -f ../../../../build/bsd- i386/classes/javax/swing/text/html/parser/html32.bdtd (../../../../build/bsd-i386/bin/java -ms16m -mx64m \ -classpath "../../../../build/bsd- i386/tmp/javax/swing/html/dtbuilder/dtdgenclasses:" \ -Ddtd_home=../../../tools/dtdbuilder/dtds \ dtdbuilder.DTDBuilder html32 > ../../../../build/bsd- i386/classes/javax/swing/text/html/parser/html32.bdtd) || exit 1 Error: failed ../../../../build/bsd-i386/lib/i386/classic/libjvm.so, because ../../../../build/bsd-i386/lib/i386/classic/libjvm.so: Undefined symbol "__muldi3" gmake[4]: *** [../../../../build/bsd- i386/classes/javax/swing/text/html/parser/html32.bdtd] Error 1 gmake[4]: Leaving directory `/builds/j2sdk1.3.1/make/javax/swing/html32dtd' gmake[3]: *** [swing-html32dtd] Error 2 gmake[3]: Leaving directory `/builds/j2sdk1.3.1/make/javax/swing/html32dtd' gmake[2]: *** [html32dtd] Error 1 gmake[2]: Leaving directory `/builds/j2sdk1.3.1/make/javax/swing' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/builds/j2sdk1.3.1/make/javax' gmake: *** [all] Error 1 *** Error code 2 Stop in /ports/java/jdk13. *** Error code 1 Stop in /ports/java/jdk13. *** Error code 1 Stop in /ports/java/jdk13. Any more ideas? And thanks, John On Sunday, November 4, 2001, at 01:57 PM, John Clayton wrote: > Thanks Greg, so, let me ask a stupid question: How do I change my > build directory? i tried using PORTSDIR=/blah, but then it couldn't > find some stuff. > > J > > > On Sunday, November 4, 2001, at 12:04 PM, Greg Lewis wrote: > >> On Sat, Nov 03, 2001 at 05:23:03PM -0500, John Clayton wrote: >>> Hey All- >>> >>> After Greg's suggested problems with the path I started digging. I >>> didn't >>> find any more info in the mailing lists, but I found the following >>> and hope >>> somebody might be able to help. Maxim mentioned that -bootclasspath >>> was >>> empty, but it isn't set in the environment, so I'm not sure why >>> that's the >>> case. Interestingly, I received the exact same error while going back >>> and >>> trying to install the jdk12-beta port. InvokersGen is giving me woes! >> >> See, for example, >> http://www.freebsd.org/cgi/getmsg.cgi?fetch=35381+37781+/usr/local/www/db/ >> text/2000/freebsd-java/20000910.freebsd-java >> >>> SO, I then tried running each command from the make directories and >>> got the >>> following: >>> >>> * tried compiling InvokersGen myself::: >>> >>> %/usr/local/linux-jdk1.3.1/bin/javac -J-Xmx64m -classpath >>> ../../../build/bsd-i386/classes -bootclasspath "" -sourcepath >>> "../../../build/bsd- >>> i386/gensrc:../../../src/solaris/classes:../../../src/sh >>> are/classes" -d ../../../build/bsd-i386/classes -d >>> ../../../build/bsd-i386/tmp/java/java.lang/jvm/obj -nowarn >>> ../../../src/share/javavm/runtime/InvokerGen.java >>> %rm -f ../../../build/bsd-i386/tmp/java/java.lang/jvm/obj/invokers.c >>> >>> * seemed to work ... but then::: >>> >>> %/usr/local/linux-jdk1.3.1/bin/java -classpath >>> ../../../build/bsd-i386/tmp/java/java.lang/jvm/obj InvokerGen < >>> ../../../src/share/javavm/include/invokers.txt > >>> ../../../build/bsd-i386/tmp/java/java.lang/jvm/obj/invokers.c >>> Exception in thread "main" java.lang.NoClassDefFoundError: InvokerGen >>> >>> ** DRAT ! ** >> >> invokers.c is built automatically everytime. If you've built it >> yourself >> and want it to stick around you need to comment out the lines in the >> makefile which build it automatically: >> >> invokers.c: InvokerGen.class >> >> invokers.c: $(SHARE_SRC)/javavm/include/invokers.txt >> $(RM) $@ >> $(BOOTDIR)/bin/java -classpath . InvokerGen < $< > $@ >> >> (this is in build/freebsd/java/jvm/GNUmakefile). >> >> -- >> Greg Lewis Email : glewis@eyesbeyond.com >> Eyes Beyond Phone : (801) 765 1887 >> Information Technology Web : http://www.eyesbeyond.com >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-java" in the body of the message >> >> John Clayton neuroboy@mac.com 24 Boonton St. Dover, NJ 07801 H: 973.361.8392 W: 973.361.9943 M: 646.418.3452 --Boundary_(ID_Ekm4D1Q5BsJDRGt0IIV2dw) Content-type: text/enriched; charset=US-ASCII Content-transfer-encoding: 7BIT OK, forgive me for going on here, but i figure this is the best place to do it ; ) I sifted through the way things are set up here, and no matter what I specified as PORTSDIR, it always copied the CWD into /usr/tmp/CWD/work. I'm on a virtual disk here and it seems /usr/tmp may be a symlink of sorts. So, I set WRKDIR on the command line to /builds and ran make again. And ... I got past the InvokersGen error!!!! Got a lot farther and received this error: rm -f ../../../../build/bsd-i386/classes/javax/swing/text/html/parser/html32.bdtd (../../../../build/bsd-i386/bin/java -ms16m -mx64m \ -classpath "../../../../build/bsd-i386/tmp/javax/swing/html/dtbuilder/dtdgenclasses:" \ -Ddtd_home=../../../tools/dtdbuilder/dtds \ dtdbuilder.DTDBuilder html32 > ../../../../build/bsd-i386/classes/javax/swing/text/html/parser/html32.bdtd) || exit 1 Error: failed ../../../../build/bsd-i386/lib/i386/classic/libjvm.so, because ../../../../build/bsd-i386/lib/i386/classic/libjvm.so: Undefined symbol "__muldi3" gmake[4]: *** [../../../../build/bsd-i386/classes/javax/swing/text/html/parser/html32.bdtd] Error 1 gmake[4]: Leaving directory `/builds/j2sdk1.3.1/make/javax/swing/html32dtd' gmake[3]: *** [swing-html32dtd] Error 2 gmake[3]: Leaving directory `/builds/j2sdk1.3.1/make/javax/swing/html32dtd' gmake[2]: *** [html32dtd] Error 1 gmake[2]: Leaving directory `/builds/j2sdk1.3.1/make/javax/swing' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/builds/j2sdk1.3.1/make/javax' gmake: *** [all] Error 1 *** Error code 2 Stop in /ports/java/jdk13. *** Error code 1 Stop in /ports/java/jdk13. *** Error code 1 Stop in /ports/java/jdk13. Any more ideas? And thanks, John On Sunday, November 4, 2001, at 01:57 PM, John Clayton wrote: Thanks Greg, so, let me ask a stupid question: How do I change my build directory? i tried using PORTSDIR=/blah, but then it couldn't find some stuff. J On Sunday, November 4, 2001, at 12:04 PM, Greg Lewis wrote: On Sat, Nov 03, 2001 at 05:23:03PM -0500, John Clayton wrote: Hey All- After Greg's suggested problems with the path I started digging. I didn't find any more info in the mailing lists, but I found the following and hope somebody might be able to help. Maxim mentioned that -bootclasspath was empty, but it isn't set in the environment, so I'm not sure why that's the case. Interestingly, I received the exact same error while going back and trying to install the jdk12-beta port. InvokersGen is giving me woes! See, for example, http://www.freebsd.org/cgi/getmsg.cgi?fetch=35381+37781+/usr/local/www/db/text/2000/freebsd-java/20000910.freebsd-java SO, I then tried running each command from the make directories and got the following: * tried compiling InvokersGen myself::: %/usr/local/linux-jdk1.3.1/bin/javac -J-Xmx64m -classpath ../../../build/bsd-i386/classes -bootclasspath "" -sourcepath "../../../build/bsd-i386/gensrc:../../../src/solaris/classes:../../../src/sh are/classes" -d ../../../build/bsd-i386/classes -d ../../../build/bsd-i386/tmp/java/java.lang/jvm/obj -nowarn ../../../src/share/javavm/runtime/InvokerGen.java %rm -f ../../../build/bsd-i386/tmp/java/java.lang/jvm/obj/invokers.c * seemed to work ... but then::: %/usr/local/linux-jdk1.3.1/bin/java -classpath ../../../build/bsd-i386/tmp/java/java.lang/jvm/obj InvokerGen << ../../../src/share/javavm/include/invokers.txt > ../../../build/bsd-i386/tmp/java/java.lang/jvm/obj/invokers.c Exception in thread "main" java.lang.NoClassDefFoundError: InvokerGen ** DRAT ! ** invokers.c is built automatically everytime. If you've built it yourself and want it to stick around you need to comment out the lines in the makefile which build it automatically: invokers.c: InvokerGen.class invokers.c: $(SHARE_SRC)/javavm/include/invokers.txt $(RM) $@ $(BOOTDIR)/bin/java -classpath . InvokerGen << $<< > $@ (this is in build/freebsd/java/jvm/GNUmakefile). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message John Clayton 0000,0000,FFFFneuroboy@mac.com 24 Boonton St. Dover, NJ 07801 H: 973.361.8392 W: 973.361.9943 M: 646.418.3452 --Boundary_(ID_Ekm4D1Q5BsJDRGt0IIV2dw)-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message