From owner-freebsd-hackers@FreeBSD.ORG Thu Dec 11 06:38:06 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 10CF116A4CF for ; Thu, 11 Dec 2003 06:38:06 -0800 (PST) Received: from mwinf0503.wanadoo.fr (smtp5.wanadoo.fr [193.252.22.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCAD143D1D for ; Thu, 11 Dec 2003 06:38:04 -0800 (PST) (envelope-from molter@tin.it) Received: from www.example.org (ANice-205-1-2-230.w81-53.abo.wanadoo.fr [81.53.50.230]) by mwinf0503.wanadoo.fr (SMTP Server) with SMTP id 53A1E68000B6 for ; Thu, 11 Dec 2003 15:38:03 +0100 (CET) Received: (qmail 50240 invoked by uid 1000); 11 Dec 2003 14:37:59 -0000 Date: Thu, 11 Dec 2003 15:37:59 +0100 From: Marco Molteni To: hackers@freebsd.org Message-ID: <20031211143758.GA48808@cobweb.example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: 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: Thu, 11 Dec 2003 14:38:06 -0000 Hi all, I have a -stable box on which I would like to compile 4.9-release, and install the 4.9 world on a different partition (so to be able to boot from that partition too). I think I want to do something similar to a release or to a cross-build, but somehow the make installworld step fails. /mnt/fbsd49 contains the 4.9-release sources, and nothing more /mnt/cdboot is the partition on which I would like to install the world I do the following: DESTDIR=/mnt/cdboot rm -r $DESTDIR/* cd /mnt/fbsd49/usr/src make buildworld # runs fine make buildkernel # runs fine make installworld DESTDIR=$DESTDIR, or env -i make installworld DESTDIR=$DESTDIR fails, end of output is -------------------------------------------------------------- >>> Installing everything.. -------------------------------------------------------------- cd /mnt/fbsd49/usr/src; make -f Makefile.inc1 install ===> share/info install -o root -g wheel -m 444 dir-tmpl /mnt/cdboot/usr/share/info/dir install:No such file or directory *** Error code 1 Stop in /mnt/fbsd49/usr/src/share/info. *** Error code 1 It seems that make cannot find the "install" utility??? what am I missing? I feel I should chroot in /mnt/fbsd49, but obviously this would require a previous installworld in /mnt/fbsd49.... thanks marco