From owner-freebsd-questions Thu Jul 26 9: 3:20 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-27-141-144.mmcable.com [24.27.141.144]) by hub.freebsd.org (Postfix) with SMTP id A6AFC37B405 for ; Thu, 26 Jul 2001 09:03:16 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 20423 invoked by uid 100); 26 Jul 2001 16:03:16 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15200.16195.969128.39709@guru.mired.org> Date: Thu, 26 Jul 2001 11:03:15 -0500 To: Nick Barnes Cc: questions@freebsd.org Subject: Re: making -releng binaries on a machine running -stable In-Reply-To: <101695134@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Nick Barnes types: > I want to track RELENG_4_3 on an old machine with a small local disk, > incapable of holding /usr/obj or running make buildworld. > > I have a much bigger faster machine running -stable. Can I make > RELENG_4_3 items on it and transfer them to the smaller machine? I > have the RELENG_4_3 sources, but not in /usr/src/. It seems that if I > set MAKEOBJDIRPREFIX and DESTDIR, I can make buildworld. Yes, you can. What I would advise is to share the source and object trees between the two machines via nfs. The trick is that the real mount point for the two has to be the same on both machines, and not just symlinked to the same place. You should also make sure that /etc/make.conf on the two is a similar as possible. You can then do buildworld on the -stable box, and installworld on the target machine without futzing with MAKEOBJDIRPREFIX or DESTDIR. > What if I just want to make (say) telnetd? Typing 'make' in > src/secure/libexec/telnetd doesn't work; it puts the objects in the > wrong place and then fails because it's getting the wrong libraries. That's expected. "make" builds with the existing system. I don't think there's a way to build single commands using the things in /usr/obj. However, once you've set up things as described above, you might be able to build single commands on the system that's to small for buildworld. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message