From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 00:18:21 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BBEFF16A404 for ; Sun, 4 Mar 2007 00:18:21 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 847A313C428 for ; Sun, 4 Mar 2007 00:18:21 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (localhost [127.0.0.1]) by mail.potentialtech.com (Postfix) with ESMTP id 9A4DBEBC5C; Sat, 3 Mar 2007 19:18:20 -0500 (EST) Received: from www.potentialtech.com (localhost [127.0.0.1]) by mail.potentialtech.com (Postfix) with ESMTP; Sat, 3 Mar 2007 19:18:20 -0500 (EST) Received: from 198.144.43.23 (SquirrelMail authenticated user wmoran) by www.potentialtech.com with HTTP; Sun, 4 Mar 2007 00:18:20 -0000 (UTC) Message-ID: <4634.198.144.43.23.1172967500.squirrel@www.potentialtech.com> In-Reply-To: <9BDC76ED-A186-40CA-850D-09BF77A395DF@shire.net> References: <9BDC76ED-A186-40CA-850D-09BF77A395DF@shire.net> Date: Sun, 4 Mar 2007 00:18:20 -0000 (UTC) From: "Bill Moran" To: "Chad Leigh -- Shire.Net LLC" User-Agent: SquirrelMail/1.4.9a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: ClamAV using ClamSMTP Cc: User Questions , "Chad Leigh -- Shire.Net LLC" , freebsd-java@freebsd.org Subject: Re: building jdk15 in a jail -- __mb_cur_max Undefined Symbol 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: Sun, 04 Mar 2007 00:18:21 -0000 > On Mar 3, 2007, at 4:01 PM, Chad Leigh -- Shire.Net LLC wrote: > >> Hi >> >> I am trying to build jdk15 inside my jail with PREFIX set to /usr/ >> public (At one time I successfully got jdk 1.4 to build after much >> hacking) >> >> I have the option for builing inside a jail set. We get to the >> point where the linux java is installed and it is actually building >> the jdk >> >> # Start of jdk build >> /libexec/ld-elf.so.1: /usr/local/lib/libiconv.so.3: Undefined >> symbol "__mb_cur_max" >> *** Error code 1 >> >> Stop in /usr/ports/java/jdk15. >> # >> >> I am not exactly sure what it is doing at this point in order to >> hack round it. libiconv a fresh install from ports >> > > Turns out that the issue is that gmake cannot run. I have not > figured out why yet, having removed and reinstalled libiconv and > gmake and getting the same error. But it is not java related. > > I'll redirect this to -questions > > If anyone has an idea on why gmake would fail as above on a fresh > install, 6.2-RELEASE from a day or two ago, I would appreciate it. > Please CC me as I am not currently subscribed to -questions, though I > am on -java Not a direct answer to your question, but when I needed to do this a few months ago, I just did a "make package" on my workstation, then shipped the package up to the jail system and installed it with pkg_add. Doesn't solve the problem, but if you're in a pinch, it's a handy workaround. -- Bill Moran http://www.potentialtech.com