From owner-freebsd-hackers@FreeBSD.ORG Fri Dec 12 08:55:34 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 C4F6816A4CE for ; Fri, 12 Dec 2003 08:55:34 -0800 (PST) Received: from mwinf0604.wanadoo.fr (smtp6.wanadoo.fr [193.252.22.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id C429143D1F for ; Fri, 12 Dec 2003 08:55:33 -0800 (PST) (envelope-from molter@tin.it) Received: from www.example.org (ANice-205-1-27-169.w81-251.abo.wanadoo.fr [81.251.15.169]) by mwinf0604.wanadoo.fr (SMTP Server) with SMTP id 2CB5828001F5 for ; Fri, 12 Dec 2003 17:55:32 +0100 (CET) Received: (qmail 619 invoked by uid 1000); 12 Dec 2003 16:55:30 -0000 Date: Fri, 12 Dec 2003 17:55:30 +0100 From: Marco Molteni To: Peter Edwards Message-ID: <20031212165530.GA264@cobweb.example.org> References: <20031211143758.GA48808@cobweb.example.org> <20031212001941A.matusita@jp.FreeBSD.org> <20031211154802.GA52388@cobweb.example.org> <3FD9EEA9.3060903@openet-telecom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FD9EEA9.3060903@openet-telecom.com> User-Agent: Mutt/1.4.1i 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:55:34 -0000 Peter Edwards wrote [2003-12-12]: [..] > >>make installworld DESTDIR=$DESTDIR, or > >>env -i make installworld DESTDIR=$DESTDIR [..] > 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. Actually I was so annoyed by the failure that i traced it: ktrace make installworld DESTDIR=foo and I discovered that installworld wants an "install" under the obj/ directory (which makes sense). Turned out that I messed with the mount points of the fbsd49/usr/src directory, so "make" wasn't able to find "install" in the obj directory. I solved by doing rm -r /usr/obj make buildworld make installworld DESTDIR=foo without changing mount points in between ;-) but I guess that MAKEOBJDIRPREFIX would have done the trick. thanks Marco