Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Nov 2005 17:31:21 +0100
From:      Andreas Krebs <akrebs@chronolabs.de>
To:        Greg Lewis <glewis@eyesbeyond.com>
Cc:        freebsd-emulation@FreeBSD.org, freebsd-java@freebsd.org
Subject:   Re: JDK15 installation problem  SOLVED
Message-ID:  <437A0D59.6000507@chronolabs.de>
In-Reply-To: <20051115160827.GA86828@misty.eyesbeyond.com>
References:  <437A028F.3090404@chronolabs.de> <20051115160827.GA86828@misty.eyesbeyond.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Greg Lewis wrote:
> 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.
 From my understanding the linux emulation always uses i386 RPMs, since 
there is no 64 bit support for the emulation yet. Why the RPMs have the 
$ARCH in their name I don't know since it will always be i386. My guess 
would be that it's designed for future use when 64bit Linux emulation 
becomes available, but I'm only guessing here, but the port maintainer 
should be able to shed some light on this.

Andreas Krebs
Chronolabs GmbH
akrebs@chronolabs.de




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?437A0D59.6000507>