make installworld DESTDIR=foo troubles
Marco Molteni
molter at tin.it
Thu Dec 11 06:38:06 PST 2003
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
More information about the freebsd-hackers
mailing list