From owner-freebsd-hackers@FreeBSD.ORG Fri Dec 12 08:38:26 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 359F716A4CE for ; Fri, 12 Dec 2003 08:38:26 -0800 (PST) Received: from sweeper.openet-telecom.com (mail.openet-telecom.com [62.17.151.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31E1843D37 for ; Fri, 12 Dec 2003 08:38:13 -0800 (PST) (envelope-from petere@openet-telecom.com) Received: from mail.openet-telecom.com (unverified) by sweeper.openet-telecom.com ; Fri, 12 Dec 2003 16:39:00 +0000 Received: from openet-telecom.com (10.0.3.126) by mail.openet-telecom.com (NPlex 6.5.027) (authenticated as Peter@openet-telecom.com) id 3FC5D1A9000105F5; Fri, 12 Dec 2003 16:32:29 +0000 Message-ID: <3FD9EEA9.3060903@openet-telecom.com> Date: Fri, 12 Dec 2003 16:36:57 +0000 From: Peter Edwards User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031107 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marco Molteni References: <20031211143758.GA48808@cobweb.example.org> <20031212001941A.matusita@jp.FreeBSD.org> <20031211154802.GA52388@cobweb.example.org> In-Reply-To: <20031211154802.GA52388@cobweb.example.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Makoto Matsushita cc: hackers@FreeBSD.org Subject: Re: make installworld DESTDIR=foo troubles X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2003 16:38:26 -0000 Marco Molteni wrote: >Makoto Matsushita wrote [2003-12-12]: > > >>molter> what am I missing? >> >>It seems that you forget to set PATH environment variable. As you >>know, "env -i" does not pass any environment variable to child process >>if any other variables are explicitly set. >> >> > >Hi Makoto-san, > >if you look at my previous email: > > > >>make installworld DESTDIR=$DESTDIR, or >>env -i make installworld DESTDIR=$DESTDIR >> >> > >I tried both with and without "env -i", the result is the same failure. > >Just to be sure: > >root@cobweb# which install >/usr/bin/install > >root@cobweb# ls -l /usr/bin/install >-r-xr-xr-x 1 root wheel 11888 Nov 25 22:57 /usr/bin/install* > >I also reset the root shell to csh, and simulate a full login with "su -". > >No change > >Marco > > Try env MAKEOBJDIRPREFIX=/usr/obj DESTDIR=$DESTDIR make installworld I suggested this before for a different problem, and it wasn't a solution, but this is the exact error that I got around by setting MAKEOBJDIRPREFIX explicitly.