From owner-freebsd-java@FreeBSD.ORG Tue Nov 15 16:08:40 2005 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 447A916A41F for ; Tue, 15 Nov 2005 16:08:40 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BB5443D5A for ; Tue, 15 Nov 2005 16:08:38 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id jAFG8S5J086845; Tue, 15 Nov 2005 09:08:28 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id jAFG8Ruj086844; Tue, 15 Nov 2005 09:08:27 -0700 (MST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 15 Nov 2005 09:08:27 -0700 From: Greg Lewis To: Andreas Krebs Message-ID: <20051115160827.GA86828@misty.eyesbeyond.com> References: <437A028F.3090404@chronolabs.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <437A028F.3090404@chronolabs.de> User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@freebsd.org Subject: Re: JDK15 installation problem SOLVED 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: Tue, 15 Nov 2005 16:08:40 -0000 On Tue, Nov 15, 2005 at 04:45:19PM +0100, Andreas Krebs wrote: > >So, I wonder what is causing ${ARCH} to be wrong when we try installing the > >Linux emulation package? > > The Makefile in linux_base-8 sets the ARCH back to i386, this setting is > probably used in all following installs (just guessing here) > > .if (${ARCH} == "amd64") > LATEST_LINK:= ${LATEST_LINK:C/linux/linux32/} > ARCH= i386 > FALLBACK_ELF_MIB= kern.elf32.fallback_brand > RPMFLAGS+= --noscripts > .else Exactly. So why is the install of linux_base-8 looking for an RPM with amd64 as the architecture then? That is exactly what the above section of the Makefile is overriding. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org