Re: error while doing installworld

From: Ruslan Ermilov <ru_at_freebsd.org>
Date: Fri, 15 Oct 2004 18:11:31 +0300
On Sat, Oct 16, 2004 at 12:50:55AM +1000, Warren Liddell wrote:
> Voyager# make installworld
> mkdir -p /tmp/install.9nPYzwyq
> for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep find grep  
> ln make mkdir mtree mv pwd_mkdb rm sed sh sysctl  test true uname wc zic; do  
> cp `which $prog` /tmp/install.9nPYzwyq;  done
> +cd /usr/FreeBSD5/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  
> MACHINE=i386  CPUTYPE=  
> GROFF_BIN_PATH=/usr/obj/usr/FreeBSD5/src/i386/legacy/usr/bin  
> GROFF_FONT_PATH=/usr/obj/usr/FreeBSD5/src/i386/legacy/usr/share/groff_font  
> GROFF_TMAC_PATH=/usr/obj/usr/FreeBSD5/src/i386/legacy/usr/share/tmac  
> PATH=/usr/obj/usr/FreeBSD5/src/i386/legacy/usr/sbin:/usr/obj/usr/FreeBSD5/src/i386/legacy/usr/bin:/usr/obj/usr/FreeBSD5/src/i386/legacy/usr/games:/usr/obj/usr/FreeBSD5/src/i386/usr/sbin:/usr/obj/usr/FreeBSD5/src/i386/usr/bin:/usr/obj/usr/FreeBSD5/src/i386/usr/games:/tmp/install.9nPYzwyq 
> make -f Makefile.inc1 reinstall
> +cd: not found
> *** Error code 127
> 
> Stop in /usr/FreeBSD5/src.
> *** Error code 1
> 
> Stop in /usr/FreeBSD5/src.
> 
> ========
> 
> Why has it got +cd ??
> 
You're supposed to "make buildworld" before doing "make installworld".
It will build (and cause "installworld" to use) the new make binary
that understands the `+' syntax.  From the new make(1) manpage:

> A `+' causes the command to be executed even if -n is specified
> on the command line.


Cheers,
-- 
Ruslan Ermilov
ru_at_FreeBSD.org
FreeBSD committer

Received on Fri Oct 15 2004 - 13:11:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:17 UTC