From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 15:03:56 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F887106566B for ; Fri, 19 Mar 2010 15:03:56 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id A45D58FC22 for ; Fri, 19 Mar 2010 15:03:55 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o2JF3sKv031037; Fri, 19 Mar 2010 09:03:54 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o2JF3sGe031034; Fri, 19 Mar 2010 09:03:54 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 19 Mar 2010 09:03:54 -0600 (MDT) From: Warren Block To: Tom Purl In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Fri, 19 Mar 2010 09:03:54 -0600 (MDT) Cc: freebsd-questions Subject: Re: Trouble Installing JKD15 On A Vanilla 8.0 Installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2010 15:03:56 -0000 On Fri, 19 Mar 2010, Tom Purl wrote: > I wanted to create a small test system that could host SSH, Apache, > and Jboss, so I decided to install the 8.0 version of FreeBSD on > Virtualbox. Everything had gone very well until I tried to install the > jdk15 port. Please note that I am very comfortable with Linux (I've > been using it at home for 9 years), but I'm very new to the world of > FreeBSD. > > First, after the port had compiled on my system for many hours, it > crashed with an error message stating that I was "out of swap space". I > had only devoted 128 MB of RAM to the VM at this point (I planned to > increase it later), so I doubled that to 256 MB That still seems pretty small for a Java build from source. Give the VM as much memory as the host can afford. You can always reduce that after the build is done. > and re-ran "make install clean". There may have been a half-built work directory still in place from the failed build. If that happens, clear it with a 'make clean'. For big ports like Java, it helps to break up the steps. Do just a make, then if it builds, make install, then after that succeeds, make clean. > 1. Is Java 5 not supported on version 8 of FreeBSD? I found the > following tip that apparently eliminates this error, but it really seems > to be a hack to me. Is there a better way? > > * http://lists.freebsd.org/pipermail/freebsd-ports/2008-July/049686.html Don't know, but jkd16 works on 8. Except the Firefox plugin. > 2. I think there's a possibility that this error is due to the earlier > segfault of the package manager. That was not shown in your message, so it's hard to tell exactly what you mean. Unless you're talking about the port build error, which wasn't a segfault or a package manager. > Would it therefore make sense to re-install it using the "make > deinstall && make install clean" command? Which "it"? -Warren Block * Rapid City, South Dakota USA