Date: Thu, 11 Dec 2003 15:37:59 +0100 From: Marco Molteni <molter@tin.it> To: hackers@freebsd.org Subject: make installworld DESTDIR=foo troubles Message-ID: <20031211143758.GA48808@cobweb.example.org>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031211143758.GA48808>
