From owner-freebsd-current@FreeBSD.ORG Fri Oct 15 15:54:38 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AA6516A4CE for ; Fri, 15 Oct 2004 15:54:38 +0000 (GMT) Received: from mailserv1.neuroflux.com (mailserv1.neuroflux.com [204.228.228.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAE2D43D3F for ; Fri, 15 Oct 2004 15:54:37 +0000 (GMT) (envelope-from ryans@gamersimpact.com) Received: (qmail 17492 invoked by uid 89); 15 Oct 2004 16:02:12 -0000 Received: from unknown (HELO www2.neuroflux.com) (127.0.0.1) by localhost with SMTP; 15 Oct 2004 16:02:12 -0000 Received: from 128.101.36.205 (SquirrelMail authenticated user ryans@gamersimpact.com); by www2.neuroflux.com with HTTP; Fri, 15 Oct 2004 10:02:12 -0600 (MDT) Message-ID: <25545.128.101.36.205.1097856132.squirrel@128.101.36.205> In-Reply-To: <20041015151131.GA44099@ip.net.ua> References: <200410160050.56138.shinjii@virusinfo.rdksupportinc.com> <20041015151131.GA44099@ip.net.ua> Date: Fri, 15 Oct 2004 10:02:12 -0600 (MDT) From: "Ryan Sommers" To: "Ruslan Ermilov" User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal cc: freebsd-current@freebsd.org cc: Warren Liddell Subject: Re: error while doing installworld X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Oct 2004 15:54:38 -0000 Ruslan Ermilov said: > 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. I suspect, from your earlier message, that your build environment, although non-standard isn't setup quite right. Are you mounting the /usr/src and /usr/ports over NFS? Where are you mounting them? What command are you using to build world? I frequently build with an NFS mounted /usr/src and /usr/ports. From your previous post it looks like you are using somewhat different paths, which although might not be a problem, it might if your object directory is different and you aren't using it in all the commands. If the machine is too small to hold the src and ports trees, is it large enough to hold /usr/obj? I would suggest the following. On your 'big' host, export a directory to use as /usr/ports, another as /usr/src, and if needed another as /usr/obj. On the 'small' host, NFS mount those directories to /usr/src, /usr/ports and /usr/obj. Then you can build and install just as if they weren't NFS mounted, which makes it somewhat easier to not forget to set make variables. When you reboot though, you won't be able to do the 'installworld' from single user unless you bring up your networking components and NFS mounts first. -- Ryan Sommers ryans@gamersimpact.com