From owner-freebsd-java@FreeBSD.ORG Mon Apr 10 11:50:38 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 57A6516A401; Mon, 10 Apr 2006 11:50:38 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BC7A43D49; Mon, 10 Apr 2006 11:50:37 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5F00B.dip.t-dialin.net [84.165.240.11]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k3ABlLjC057057; Mon, 10 Apr 2006 13:47:22 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k3ABoVGo003066; Mon, 10 Apr 2006 13:50:31 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Mon, 10 Apr 2006 13:50:30 +0200 Message-ID: <20060410135030.258r45ujkk8sc448@netchild.homeip.net> X-Priority: 3 (Normal) Date: Mon, 10 Apr 2006 13:50:30 +0200 From: Alexander Leidinger To: Andreas Krebs References: <20060410012328.K1096@ganymede.hub.org> <20060410015449.K1096@ganymede.hub.org> <443A3173.6050702@chronolabs.de> In-Reply-To: <443A3173.6050702@chronolabs.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: freebsd-emulation@freebsd.org, freebsd-java@freebsd.org Subject: Re: JDK1.5 on FreeBSD 6.x / amd64 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 11:50:38 -0000 Andreas Krebs wrote: > Marc G. Fournier wrote: >> >> Most odd .. cd'd to the linux_base directory and it installed fine =20 >> from there, so not sure why it failed the first time :( > For some reason installing linux_base as a dependency on am64 fails > (because it tries to install amd64.rpm). If you install linux_base > directly first and java after sucessfull linux installation, it works. > > Dunno why the other approach doesn't work tho, my guess is that the > build process passes the correct, but for linux wrong platform amd64 to > some underlying install process. Nearly right. bsd.port.mk makes the architecture variable read-only in =20 submakes (at least this is the effect of what bsd.port.mk does). The =20 linux_base-8 port tries to change this variable but fails. Another workaround to the already found one would be to use the new =20 fc3 linux base port as the default (OVERRIDE_LINUX_BASE_PORT=3Dfc3 in =20 make.conf), since it handles this differently than the default linux =20 base port (which is scheduled to be replaced with the fc3 one after the release of FreeBSD 5.5 and 6.1). Bye, Alexander. --=20 http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 Never go to a doctor whose office plants have died. =09=09-- Erma Bombeck