From owner-freebsd-emulation@FreeBSD.ORG Tue Nov 9 08:57:40 2010 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5C62106566C for ; Tue, 9 Nov 2010 08:57:40 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay009.isp.belgacom.be (mailrelay009.isp.belgacom.be [195.238.6.176]) by mx1.freebsd.org (Postfix) with ESMTP id 5C6F18FC0C for ; Tue, 9 Nov 2010 08:57:39 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AosGAH6a2Exbsdn8/2dsb2JhbACUHo1/cr1EhUoEj2Q Received: from 252.217-177-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.177.217.252]) by relay.skynet.be with ESMTP; 09 Nov 2010 09:57:38 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.4/8.14.4) with ESMTP id oA98vcPD002343 for ; Tue, 9 Nov 2010 09:57:38 +0100 (CET) (envelope-from tijl@coosemans.org) From: Tijl Coosemans To: freebsd-emulation@freebsd.org Date: Tue, 9 Nov 2010 09:57:28 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.5.2; i386; ; ) References: <20101009203629.GA2135@pollux.local.net> <201011081948.52707.tijl@coosemans.org> <20101108214703.GA3330@pollux.local.net> In-Reply-To: <20101108214703.GA3330@pollux.local.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3185086.AyUWWBEjcG"; protocol="application/pgp-signature"; micalg=pgp-sha256 Content-Transfer-Encoding: 7bit Message-Id: <201011090957.36300.tijl@coosemans.org> Subject: Re: linux_base-f10 install problem X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2010 08:57:40 -0000 --nextPart3185086.AyUWWBEjcG Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Monday 08 November 2010 22:47:03 Harald Weis wrote: > On Mon, Nov 08, 2010 at 07:48:44PM +0100, Tijl Coosemans wrote: >> On Monday 08 November 2010 17:27:02 Harald Weis wrote: >>> On Mon, Nov 08, 2010 at 09:40:28AM +0100, Tijl Coosemans wrote: >>>> On Sunday 07 November 2010 22:29:32 Harald Weis wrote: >>>>> Output of make -V USE_LINUX_PREFIX -V LINUXBASE: >>>>> yes >>>>> /compat/linux >>>>>=20 >>>>> Output of ls -ld /compat/linux: >>>>> drwxr-xr-x 3 root wheel 512 Oct 14 14:18 /compat/linux/ >>>> >>>>=20 >>>> What is the output of 'make -V PREFIX' ? >>>=20 >>> /usr/local >>=20 >> That's the problem then, it should be /compat/linux. Somewhere PREFIX >> is set to /usr/local. Maybe in /etc/make.conf? >=20 > No, make.conf is ok. > The Makefile includes /usr/ports/Mk/bsd.port.mk and this (very big) > file says: >=20 > .if defined(USE_LINUX_PREFIX) > PREFIX?=3D ${LINUXBASE} > NO_MTREE=3D yes > .else > PREFIX?=3D ${LOCALBASE} > .endif >=20 > That means that PREFIX should be set to /compat/linux ! > It would be nice if the bug were in bsd.port.mk . > But then I can't believe that I am the only person in the world > having this problem. And it seems that I am indeed quite alone. > Strange, very strange. Could it be a virus in the end ? ?=3D means it will only be set if it doesn't have a value yet. So you could change that into =3D and see if 'make -V PREFIX' produces the correct output then. If it does you know PREFIX is defined before. If it doesn't, it must be overwritten after those lines (or the lines didn't execute at all). So you could try something like this: =2Eif defined(USE_LINUX_PREFIX) PREFIX=3D ${LINUXBASE} NO_MTREE=3D yes ITWORKS=3D yes =2Eelse PREFIX?=3D ${LOCALBASE} ITWORKS=3D no =2Eendif make -V PREFIX -V ITWORKS --nextPart3185086.AyUWWBEjcG Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iF4EABEIAAYFAkzZDQAACgkQfoCS2CCgtislZgD9F+T4PK1TEVqb5Ht0DrmN1PWz ZvndnWUcniLR9VZ8yDgA/2Et8UBQ7EeqebabJ86xKbTV3KfpzsltdfsgzmdyXQAp =iEox -----END PGP SIGNATURE----- --nextPart3185086.AyUWWBEjcG--