From owner-freebsd-java@FreeBSD.ORG Mon Jan 31 11:08:44 2005 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 DB09D16A4CE for ; Mon, 31 Jan 2005 11:08:44 +0000 (GMT) Received: from bohr.quimica.ufpr.br (bohr.quimica.ufpr.br [200.17.215.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88B0943D5A for ; Mon, 31 Jan 2005 11:08:44 +0000 (GMT) (envelope-from edulsa@quimica.ufpr.br) Received: from quimica.ufpr.br (laplace.quimica.ufpr.br [200.17.215.88]) by bohr.quimica.ufpr.br (Postfix) with ESMTP id 4015019A50 for ; Mon, 31 Jan 2005 09:08:42 -0200 (BRST) Message-ID: <41FDF612.90807@quimica.ufpr.br> Date: Mon, 31 Jan 2005 09:10:42 +0000 From: Eduardo User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040429 X-Accept-Language: en-us, en MIME-Version: 1.0 To: java@Freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: about linux binaries error X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jan 2005 11:08:45 -0000 Sirs I am trying to install java in FreeBSD (4.11-RELEASE). I have installed linux_base-7 (and dependencies), linprocs is in my /etc/fstab (and it is mounted too). However, i got the error message above when "make clean install" is typed. Any hints. Thanks in advance Eduardo -------- Original Message -------- Date: Mon, 31 Jan 2005 09:07:30 +0000 From: root@laplace.quimica.ufpr.br (Eduardo Lemos de Sa) To: Eduardo 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 ====================================================================== ===> Vulnerability check disabled, database not found ===> Extracting for linux-sun-jdk-1.4.2.06_1 => Checksum OK for j2sdk-1_4_2_06-linux-i586.bin. ===> linux-sun-jdk-1.4.2.06_1 depends on file: /compat/linux/lib/libc.so.6 - found ELF binary type "0" not known. Abort trap *** Error code 134 Stop in /usr1/ports/java/linux-sun-jdk14. -- Eduardo Lemos de Sa - edulsa@quimica.ufpr.br Dep. Quimica - Universidade Federal do Parana Curitiba - PR - Brazil Box: 19081 - Zip: 81531-990 - Phone: +55(41)361-3300