From owner-freebsd-java@FreeBSD.ORG Mon Apr 10 16:54:54 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 2AAEE16A406 for ; Mon, 10 Apr 2006 16:54:54 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.shire.net [166.70.252.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD24B43D45 for ; Mon, 10 Apr 2006 16:54:51 +0000 (GMT) (envelope-from chad@shire.net) Received: from [67.171.127.191] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpa (Exim 4.51) id 1FSzf9-0000pI-5S; Mon, 10 Apr 2006 10:54:51 -0600 In-Reply-To: <20060410124528.T1096@ganymede.hub.org> References: <20060410124528.T1096@ganymede.hub.org> Mime-Version: 1.0 (Apple Message framework v746.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: "Chad Leigh -- Shire.Net LLC" Date: Mon, 10 Apr 2006 10:54:50 -0600 To: Marc G. Fournier X-Mailer: Apple Mail (2.746.3) X-SA-Exim-Connect-IP: 67.171.127.191 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Cc: freebsd-java@freebsd.org Subject: Re: Building java in a Jail ... X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Apr 2006 16:54:54 -0000 On Apr 10, 2006, at 9:48 AM, Marc G. Fournier wrote: > > I just tried to build java 1.5 within a FreeBSD 6.x / amd64 based > jail ... it gets most of the way through, and hangs, with several > java processes running with very high %CPU ... so, I killed it all > off, figured I'd start from scratch and see how it goes a second > time through ... but, now when I type 'make', it fails with: > > # make > ===> Building for jdk-1.5.0p3 > ERROR: You must have LINPROCFS mounted before > starting to build the native JDK 1.5.0. > > You may do it with the following commands: > > # kldload linprocfs > > and > > # mount -t linprocfs linprocfs /compat/linux/proc > > *** Error code 1 > > Stop in /usr/ports/java/jdk15. > > But, I did mount it ... the problem is, 'df' doesn't show it ... > not sure if there is a 'clean workaround' for this, but figured I'd > mention it ... I'm going to do the 'make package' on a different > machine that has more CPU/memory, so not too concerned with the > above ... but it might hit someone else ... Check in the archives. I had a similar problem but cannot remember how it was solved in the end. I did post about solving it though, based on a comment in another thread that was having a different problem. I am not on amd64 but the issue sounds the same. btw, you mount the linprocfs in the master, not inside the jail, but inside the jails FS. Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net