From owner-freebsd-java@FreeBSD.ORG Tue Jun 8 06:05:27 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 0C56516A4CE for ; Tue, 8 Jun 2004 06:05:27 +0000 (GMT) Received: from wjv.com (user38.net339.fl.sprint-hsd.net [65.40.24.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3074043D5E for ; Tue, 8 Jun 2004 06:05:24 +0000 (GMT) (envelope-from bv@bilver.wjv.com) Received: from bilver.wjv.com (localhost.wjv.com [127.0.0.1]) by wjv.com (8.12.11/8.12.11) with ESMTP id i58651m8049211; Tue, 8 Jun 2004 02:05:07 -0400 (EDT) (envelope-from bv@bilver.wjv.com) Received: (from bv@localhost) by bilver.wjv.com (8.12.11/8.12.11/Submit) id i58651SU049210; Tue, 8 Jun 2004 02:05:01 -0400 (EDT) (envelope-from bv) Date: Tue, 8 Jun 2004 02:05:00 -0400 From: Bill Vermillion To: Ethan Killian Message-ID: <20040608060500.GF44006@wjv.com> References: <40C26132.7070705@indigomoon.ca> <40C4FAA2.2080103@hkfanatic.com> <20040608001115.GB42346@wjv.com> <40C5080A.5080502@hkfanatic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <40C5080A.5080502@hkfanatic.com> Organization: W.J.Vermillion / Orlando - Winter Park ReplyTo: bv@wjv.com User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on bilver.wjv.com cc: djkuzenko@indigomoon.ca cc: freebsd-java@freebsd.org Subject: Re: jdk 1.4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: bv@wjv.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 06:05:27 -0000 On or about Mon, Jun 07, 2004 at 18:27 , while attempting a=20 Zarathustra emulation Ethan Killian thus spake: > Bill, > I have been working on an Eclipse 3.0 port so I just installed a fresh=20 > install of Java today on my 4.10 FreeBSD Box. It did originally crash=20 > because I did not run the following first: > kldload linprocfs > mount -t linprocfs linprocfs /compat/linux/proc I've done both of those. > Once these are loaded though, I did a 'make clean' and then > 'make install' from the /usr/ports/java/jdk14/ directory and > it completed. The thing catch is that you will also have to > download the j2sdk-1_4_2_04-linux-i586.bin file. This applies to > my previous email that I forgot to include. Basically to build > the native port, it uses the linux binary to help with the build > process. I've also done that. The docs do say that you have to have Java running to bootstrap the jdk14 and the boostrap of choice is the sun-linux with the above *586* name you have listed above. > So, first run: >=20 > kldload linprocfs > mount -t linprocfs linprocfs /compat/linux/proc kldload linprocfs gives "can't load linproc fs: file exist" Here is mount output /dev/ad0s2a on / (ufs, local) /dev/ad0s2g on /usr (ufs, local, noatime, soft-updates) /dev/ad0s2f on /usr2 (ufs, local, soft-updates) /dev/ad0s2e on /var (ufs, local, soft-updates) procfs on /proc (procfs, local) linprocfs on /usr/compat/linux/proc (linprocfs, local) > Make sure you have all 4 files (in /usr/ports/distfiles) > j2sdk-1_4_2_04-linux-i586.bin > <>j2sdk-1_4_2-src-scsl.zip > j2sdk-1_4_2-bin-scsl.zip > bsd-jdk14-patches-6.tar.gz All there. > Run 'make install' from the /usr/ports/java/jdk14/ > If you are missing some of the files, it should tell you what > you need to get and where to place the file. This port is > difficult to get installed because you have to manually fetch > the files and register with sun.com to get them. It did work > for me today however when I installed this from scratch. If you > still get failures paste the error. > And I am running a Generic 4.10 kernel on the box I got the jdk14=20 > installed on today. My kernel is almost GENERIC - and it was built on Friday when I had the problems. I did a complete removal of /usr/src and /usr/obj. I just did a make clean in jdk14. And reran it. I'll inlcude the tail end of the failur here. I ran this under script, and there are 8100 lines of output. I'll just include the last few lines here. It always fails on the linux-sun thing. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D> Extracting for linux-sun-jdk-1.4.2.04 >> Checksum OK for j2sdk-1_4_2_04-linux-i586.bin. =3D=3D=3D> linux-sun-jdk-1.4.2.04 depends on file: /compat/linux/lib/libc= =2Eso.6 - found Bad system call (core dumped) *** Error code 140 Stop in /usr/ports/java/linux-sun-jdk14. *** Error code 1 Stop in /usr/ports/java/jdk14. root@bilver.wjv.com# =07=07=07=07t /bin/ksh: t: not found [No such file or directory] root@bilver.wjv.com# exit Script done on Tue Jun 8 01:58:39 2004 ------------------ I just had a thought and about a year ago I had problems with Bison building under the KSH I had and an update fixed that. I'm now running the jdk14 under csh after editing the master password and logging and in to make sure all the ksh stuff is gone. I'll see if that works. Nope. Failed at the ame place with a Bad System call right after the libc.so.6 Any other information you want? --=20 Bill Vermillion - bv @ wjv . com