From owner-freebsd-java@FreeBSD.ORG Mon Jun 14 21:32:43 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 BB97416A4CE; Mon, 14 Jun 2004 21:32:43 +0000 (GMT) Received: from wjv.com (user38.net339.fl.sprint-hsd.net [65.40.24.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD87A43D48; Mon, 14 Jun 2004 21:32:42 +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 i5ELWTSL005439; Mon, 14 Jun 2004 17:32:29 -0400 (EDT) (envelope-from bv@bilver.wjv.com) Received: (from bv@localhost) by bilver.wjv.com (8.12.11/8.12.11/Submit) id i5ELWTd2005438; Mon, 14 Jun 2004 17:32:29 -0400 (EDT) (envelope-from bv) Date: Mon, 14 Jun 2004 17:32:29 -0400 From: Bill Vermillion To: freebsd-emulation@freebsd.org, freebsd-java@freebsd.org Message-ID: <20040614213229.GC2035@wjv.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Subject: my continuing JDk14 build problems 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: Mon, 14 Jun 2004 21:32:44 -0000 I've posted before problems I've been having. After posting in java someone figured it might be emulation so I posted there. I get a failure trying to install the linux-sun-jdk14 that is required to bootstrap the jdk14. I even downloaded the linux rpm from Sun and installed that via rpm -install and in that also generates an install.sfx.core file just as builing from jdk14 or sun-linux-jdk14 with the standard files. Someone suggested setting the defaul brand to 3 in sysctl That made no difference. I always get a 'bad system call' as the final error. [I've posted those before]. But thinking more about this and recalling I had a bad system call on a commercial application that defaulted to a SVR4 and I had to brand it as Linux, I ran the sun-linux-jdk14 that extracted the install.sfx into the work directory. Then I performed a brandelf -t Linux on install.sfx. I them commented out the extract of the install.sfx in the Makefile so it wouid not re-extract and write over the rebranded image. Now when I run it I get this: --------- Script started on Mon Jun 14 15:26:54 2004 root@bilver.wjv.com# make ====================================================================== Warning: This JDK may be unstable. You are advised to use the native FreeBSD JDK, in ports/java/jdk14. 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.4.2.04 >> Checksum OK for j2sdk-1_4_2_04-linux-i586.bin. ===> linux-sun-jdk-1.4.2.04 depends on file: /compat/linux/lib/libc.so.6 - found /usr/ports/java/linux-sun-jdk14/work/install.sfx: /lib/ld-linux.so.2: version `GLIBC_PRIVATE' not found (required by /lib/libc.so.6) *** Error code 1 Stop in /usr/ports/java/linux-sun-jdk14. root@bilver.wjv.com# exit Script done on Mon Jun 14 15:26:58 2004 So the error changes from 'bad system call' to the above. Am I correct in thinking that if I can get that fixed I may be able to proceed. I'm treading in new territory here for me. Am I wrong in thinking that this may point to the problem. In the commerical application the rebrand to Linux cured the bad system call and that install continued. I've also tried running with the SYSR4 removed from rc.conf. Others have said they have gotten this installed in 4.10 The kernel is set for only the 686 and the only things added are SC_HISTORY size set to 700, MAXCONS to 16, and a couple of other syscons - for the SCO compatible screen, plus default text display of green on black. I can't see any thing in there would be a problem, but I felt it was better to mention what I've changed than the typical "I dont see anything that could affect this". I've posted this to both java and emulation - just in case. I'm willing to try any/all suggestions. Bill -- Bill Vermillion - bv @ wjv . com