From owner-freebsd-java@FreeBSD.ORG Mon Jan 31 16:57:07 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 15ED216A4CE for ; Mon, 31 Jan 2005 16:57:07 +0000 (GMT) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F59B43D41 for ; Mon, 31 Jan 2005 16:57:02 +0000 (GMT) (envelope-from ml@FreeBSD.org.ua) Received: from phantom.cris.net (ml@localhost [127.0.0.1]) by phantom.cris.net (8.12.10/8.12.10) with ESMTP id j0VH0vko000524; Mon, 31 Jan 2005 19:00:57 +0200 (EET) (envelope-from ml@FreeBSD.org.ua) Received: (from ml@localhost) by phantom.cris.net (8.12.10/8.12.10/Submit) id j0VH0siY000523; Mon, 31 Jan 2005 19:00:54 +0200 (EET) (envelope-from ml) Date: Mon, 31 Jan 2005 19:00:54 +0200 From: Alexey Zelkin To: Eduardo Message-ID: <20050131170054.GA485@phantom.cris.net> References: <41FDF612.90807@quimica.ufpr.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41FDF612.90807@quimica.ufpr.br> X-Operating-System: FreeBSD 4.9-STABLE i386 User-Agent: Mutt/1.5.5.1i cc: java@freebsd.org Subject: Re: 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 16:57:07 -0000 hi, On Mon, Jan 31, 2005 at 09:10:42AM +0000, Eduardo wrote: > 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. It means what linux emulation is not enabled. Load linux.ko using kldload utilitty and restart build. > Abort trap > *** Error code 134 > > Stop in /usr1/ports/java/linux-sun-jdk14.