From owner-freebsd-current@FreeBSD.ORG Fri Oct 15 20:38:52 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 268FA16A4CE for ; Fri, 15 Oct 2004 20:38:52 +0000 (GMT) Received: from mailserv1.neuroflux.com (mailserv1.neuroflux.com [204.228.228.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id B31EA43D46 for ; Fri, 15 Oct 2004 20:38:51 +0000 (GMT) (envelope-from ryans@gamersimpact.com) Received: (qmail 45701 invoked by uid 89); 15 Oct 2004 20:46:27 -0000 Received: from unknown (HELO www2.neuroflux.com) (127.0.0.1) by localhost with SMTP; 15 Oct 2004 20:46:27 -0000 Received: from 208.4.77.15 (SquirrelMail authenticated user ryans@gamersimpact.com); by www2.neuroflux.com with HTTP; Fri, 15 Oct 2004 14:46:27 -0600 (MDT) Message-ID: <58185.208.4.77.15.1097873187.squirrel@208.4.77.15> In-Reply-To: <200410160202.23246.shinjii@virusinfo.rdksupportinc.com> References: <200410160050.56138.shinjii@virusinfo.rdksupportinc.com> <20041015151131.GA44099@ip.net.ua> <25545.128.101.36.205.1097856132.squirrel@128.101.36.205> <200410160202.23246.shinjii@virusinfo.rdksupportinc.com> Date: Fri, 15 Oct 2004 14:46:27 -0600 (MDT) From: "Ryan Sommers" To: shinjii@virusinfo.rdksupportinc.com 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: current@freebsd.org 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 20:38:52 -0000 Please include the list in all replies. Warren Liddell said: >> 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. > > The small dive unable to hold a ports & src is able to hold its own > /usr/obj > dir which it has in /usr/obj > > The "Big" machine has the ports an src setup exactly like the "small" > machine > does so when mounting it over nfs i have the option to do the buildworld > on > the "Big" machine then do the installworld on the "small" machine. > > My Big machine is somewhat setup in a similar way running 4.10-STABLE i > remotely mount the ports an src dir's and do the neccessary updates 1 a > week > and it hasnt given me any hassles. Correct me if I'm wrong, you are doing a 'make buildworld' on the "big" machine and then mounting /usr/src and /usr/ports on the "small" machine and then trying to do a 'make installworld' on the "small" machine. If this is correct therein lies the problem you are running into. When you do a 'buildworld' everything that is built is stored under /usr/obj, nothing in /usr/src changes. When you are mounting your /usr/src on the "small" machine you aren't showing the "small" machine everything you just built for it. You need to not only export /usr/src from the "big" machine, but also export /usr/obj and mount both respectively on the "small" machine. This would lead to the reason your tool-chain isn't being seen on the "small" machine and why it then fails when you try to do an install world. If I'm wrong in any of these assumptions please give us explicit details as to what you are mounting from where to where, what commands you are tying and on what machine you are typing them. -- Ryan Sommers ryans@gamersimpact.com