From owner-freebsd-current Fri Jun 26 14:37:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA09511 for freebsd-current-outgoing; Fri, 26 Jun 1998 14:37:27 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from vader.cs.berkeley.edu (vader.CS.Berkeley.EDU [128.32.38.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA09405 for ; Fri, 26 Jun 1998 14:36:48 -0700 (PDT) (envelope-from asami@vader.cs.berkeley.edu) Received: (from asami@localhost) by vader.cs.berkeley.edu (8.8.7/8.7.3) id OAA08919; Fri, 26 Jun 1998 14:35:02 -0700 (PDT) Date: Fri, 26 Jun 1998 14:35:02 -0700 (PDT) Message-Id: <199806262135.OAA08919@vader.cs.berkeley.edu> To: tsprad@set.spradley.tmi.net CC: jb@cimlogic.com.au, paulz@trantor.stuyts.nl, current@FreeBSD.ORG In-reply-to: <199806260412.XAA11260@set.spradley.tmi.net> (message from Ted Spradley on Thu, 25 Jun 1998 23:12:28 -0500) Subject: Re: make buildworld needs root privs , why ? From: asami@FreeBSD.ORG (Satoshi Asami) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * I have a related problem, trying to do just that. I wanted to run 'make * buildworld' on a faster machine, then 'make installworld' on the slow * machine that's going to run that world. That's the right thing to do! (Especially if the faster machine is an NFS server with lots of disks and the slower machine is a client with minimal space....) * On the faster machine I created directories /source/hotrod/src and * /object/hotrod/obj (hotrod is the slow machine). I made symlinks * /usr/src -> /source/hotrod/src and /usr/obj -> /object/hotrod/obj, * then I ran 'make buildworld'. Now I go to hotrod and mount the same * /source/hotrod/src on /usr/src and mount /object/hotrod/obj on * /usr/obj, and run 'make -m /usr/src/share/mk installworld' (hotrod is * running 2.2.5R). * * What happens is "/usr/obj/usr/src/tmp/usr/bin/make: not found". It's * actually at /usr/obj/source/hotrod/src/tmp/usr/bin/make. Instead of * /usr/obj/usr/src/... it's /usr/obj/source/hotrod/.... * * Before I try to work around this with symlinks or something, I thought * I ought to ask if my procedure is at all close to correct. You can work around it with symlinking backwards, but you really don't need to do anything special as long as you mount the filesystems on the same path on the server and client. In this case, just mount /source/hotrod/src as /source/hotrod/src and /source/hotrod/obj as /source/hotrod/obj, then make the regular src and obj symlinks. (I thought that was what people normally do. :) Satoshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message