From owner-freebsd-emulation@FreeBSD.ORG Sun May 25 11:35:13 2003 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F239E37B401 for ; Sun, 25 May 2003 11:35:12 -0700 (PDT) Received: from iago.cs.wisc.edu (iago.cs.wisc.edu [128.105.123.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4183E43FAF for ; Sun, 25 May 2003 11:35:12 -0700 (PDT) (envelope-from jolson@iago.cs.wisc.edu) Received: (from jolson@localhost) by iago.cs.wisc.edu (8.9.2/8.9.2) id NAA16664 for freebsd-emulation@freebsd.org; Sun, 25 May 2003 13:35:11 -0500 (CDT) Date: Sun, 25 May 2003 13:35:11 -0500 From: James Olson To: freebsd-emulation@freebsd.org Message-ID: <20030525133511.A14544@iago.cs.wisc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Subject: problems compiling sun jdk1.3.1 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 May 2003 18:35:13 -0000 I have been having issues with installing the jdk1.3.1 port on freebsd -STABLE I contacted the ports maintainer of the sun jdk1.3.1 and he referred me to this list as it appears that there is an emulation issue. I will paste what I've found so far. in /usr/ports/java/jdk13 I ran make and received the following error i386 Build started: 1.3.1-p8-nixer-030524-15:37 ELF interpreter /compat/svr4/lib/ld-linux.so.2 not found ELF interpreter /compat/svr4/lib/ld-linux.so.2 not found 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. Upon further inspection of this error, I found the error coming from /usr/ports/java/jdk13/work/j2sdk1.3.1/make/tools/sanityck Line 412 j=$BOOTDIR/bin/java$EXE if [ -x $j ]; then When I ran java in $BOODIR/bin (in my case /usr/local/linux-sun-jdk1.3.1/bin) I received: ELF interpreter /compat/svr4/lib/ld-linux.so.2 not found Abort trap ELF interpreter /compat/svr4/lib/ld-linux.so.2 not found Abort trap ELF interpreter /compat/svr4/lib/ld-linux.so.2 not found Abort trap grep: /lib/jvm.cfg: No such file or directory grep: /lib/jvm.cfg: No such file or directory ELF interpreter /compat/svr4/lib/ld-linux.so.2 not found Abort Inspecting the java binary I found that it was branded SYSV (which would make sense as to the errors) > pwd /usr/local/linux-sun-jdk1.3.1/jre/bin/i386/green_threads > file java java: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), not stripped I then went through and branded each executable in /usr/local/linux-sun-jdk1.3.1/ as Linux just to see if this was the problem and received similar errors about ELF interpreter /compat/svr4/lib/ld-linux.so.2 not found After perusing the web and google and talking to several people I couldn't find a solution and found that other people have had the same problems and just gave up. Any information on this that you could provide would be extremely helpful and I will help in any way that I can. -James