From owner-freebsd-questions@FreeBSD.ORG Wed Sep 10 06:37:47 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C36916A4BF for ; Wed, 10 Sep 2003 06:37:47 -0700 (PDT) Received: from inspired.net.au (inspired.net.au [203.58.81.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id D154F43FCB for ; Wed, 10 Sep 2003 06:37:45 -0700 (PDT) (envelope-from dlodeiro@inspired.net.au) Received: (from uucp@localhost) by inspired.net.au (8.8.7/8.8.7) id XAA32619; Wed, 10 Sep 2003 23:37:31 +1000 Received: from dsl-231.131.240.220.lns02-wick-bne.dsl.comindico.com.au(220.240.131.231), claiming to be ".dl.com" via SMTP by inspired.net.au, id smtpda32606; Wed Sep 10 13:37:28 2003 From: David L To: Manalive Date: Wed, 10 Sep 2003 23:36:17 +1000 User-Agent: KMail/1.5.2 References: <200309082004.08198.dlodeiro@inspired.net.au> <20030909124236.W53895@pukruppa.net> <3F5E5A35.5070908@gmx.net> In-Reply-To: <3F5E5A35.5070908@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200309102336.17901.dlodeiro@inspired.net.au> cc: Peter Ulrich Kruppa cc: freebsd-questions@freebsd.org Subject: Re: JAVA and MOZILLA X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Sep 2003 13:37:47 -0000 Ok, I got jdk13 installed from the ports, this is what I did I first got rid of other versions of jdk as suggested by Simon, that didnt work. Then I had a look at the Makefile and noticed this line JDK13DIR= ${LOCALBASE}/linux-blackdown-jdk${JDK_VERSION} so I installed linux-blackdown-jdk13 from ports and then tried to install jdk13, again it did not work. This time I had a better read of the makefile and decided to try changing MAKE_ENV= ALT_BOOTDIR="${JDK13DIR}" \ to read the path of my linux jdk folder, it appears that without specifying otherwise, it looks in /usr/local/java which doesnt exist ( at least not on my system ) so I changed that line in the Makefile to read MAKE_ENV= ALT_BOOTDIR="/usr/local/linux-sun-jdk1.3.1" \ and finally, it compiled without any further errors. I then created a symlink to from the plugin to the mozilla directory and I now have java on mozilla. Thanks to all those that helped Hope this helps someone else Seeya David > >>Hi, > >> I to am using Mozilla 1.4 ( I beleive I failed to mention that in my > >> original post ) and I compiled it out of ports. I had heard that Java > >> 1.3.1 worked well with Mozilla, so I wne to try to install it. However > >> when I try I get the following. > >> > >>dl# cd /usr/ports/java/jdk13 > >>dl# ls > >>Makefile files pkg-message scripts > >>distinfo pkg-descr pkg-plist work > >>dl# make package > >>===> Building for jdk-1.3.1p8_2 > >># Start of jdk build > >>i386 Build started: 1.3.1-p8-n4458575-030909-18:44 > >>ERROR: Your BOOTDIR environment variable does not point > >> to a valid Java 2 SDK for bootstrapping this build. > >> A Java 2 SDK 1.3.1 build must be bootstrapped against any > >> 1.3 build. Please update your ALT_BOOTDIR setting, or > >> just unset it, and start your build again. > > > >You need some working linux-java (I think you can use blackdown > >and sun but I can't remember which version) to build the FreeBSD > >java-port . You could search your Makefile for this. > > > >Uli. > > I tried separately linux-sun-jdk13 and linux-blackdown-jdk13, neither > helped me to get past that danged ALT_BOOTDIR error message. Any way I > can set the ALT_BOOTDIR or find out how to remove it?! > > Funny thing is that I was able to install jdk13 natively with no > problems a month ago, then on another computer, this error keeps popping > up. Same hardwares, same configuration. I remember in the past few > years, sometimes it installed with no problems, sometimes the error > keeps popping up. I have no idea what I did or what changed. Grrrr! > > Jonas > > >>Exiting because of the above error(s). > >>gmake: *** [sanity] Error 1 > >>*** Error code 2 > >> > >>Stop in /usr/ports/java/jdk13. > >>dl# > >> > >>the make file in jdk13 has the following (I dont know if it of any > >> relevence) MAKE_ENV= ALT_BOOTDIR="${JDK13DIR}" \ > >> > >>Did you have any of these issues when compiling jdk13? > >>If you did, can you please let me know how you got around it. > >> > >>Thanks > >> > >>David > >> > >>_______________________________________________ > >>freebsd-questions@freebsd.org mailing list > >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >>To unsubscribe, send any mail to > >> "freebsd-questions-unsubscribe@freebsd.org" > > > > +---------------------------+ > > > > | Peter Ulrich Kruppa | > > | > > | Wuppertal | > > | Germany | > > > > +---------------------------+ > >_______________________________________________ > >freebsd-questions@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org"