From owner-freebsd-questions Wed Apr 11 6:55:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp014.mail.yahoo.com (smtp014.mail.yahoo.com [216.136.173.58]) by hub.freebsd.org (Postfix) with SMTP id 6F61D37B422 for ; Wed, 11 Apr 2001 06:55:45 -0700 (PDT) (envelope-from bsd140870@yahoo.co.uk) Received: from j92.kch19.jaring.my (HELO as2.kptn.org) (161.142.45.106) by smtp.mail.vip.sc5.yahoo.com with SMTP; 11 Apr 2001 13:55:44 -0000 X-Apparently-From: Date: Wed, 11 Apr 2001 14:17:39 +0800 From: Alvin Sim X-Mailer: The Bat! (v1.52 Beta/4) Reply-To: Alvin Sim Organization: n/a X-Priority: 3 (Normal) Message-ID: <5813085736.20010411141739@yahoo.co.uk> To: FreeBSD Questions Subject: Re[2]: Installing port(s) from an NFS server In-Reply-To: <3AD35117.A3EA4562@urx.com> References: <1510883389.20010410124052@yahoo.co.uk> <3AD317BB.4D2EB73@i-clue.de> <8531538810.20010411001740@yahoo.co.uk> <3AD35117.A3EA4562@urx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Wednesday, April 11, 2001, 02:29:43 AM, Kent Stewart wrote: [snip... snip some...] KS> I stumbled across the option "make package" recently when I did a "man KS> ports". It does a make install but it also creates a tarball of the port as KS> a package. I have a system with an AMD 900 and a system with dual 866 KS> coppermines. They build ports about 3x faster than my slower machines. If KS> you create the directory /usr/ports/packages and do a make package, you KS> build the equivalent of what is on the distribution CDs in /cdrom/packages. KS> You install them on the client computer using pkg_add commands. I nfs KS> mounted the filesystem containing /usr/port/packages, did a "setenv PACKAGES KS> "nfs_path/packages/All", and installed kde-2.1 as a package on my slower KS> machines. I saved many hours of compiling for each system. I had to build a KS> number of ports before it would finish the upgrades. this is certainly very interesting (for me at least). although i think in my case, i have the opposite. the nfs server is a p200 and the client is a duron650. all the ports are on the slower machine (p200). i could, although i'm still not sure if its a good idea, to first copy the whole ports collection to the faster machine (d650), and have it serve as an nfs server for just the ports/packages collection. i will give the first a try and see how slow the process goes before i decide wether to move the ports to the faster machine. KS> The package files stick around if you end up doing a "make clean" and find KS> that the port/work directories for a port and all of its dependancies have KS> disappeared. I eventually solved that problem by creating an alias called KS> makednc that does a KS> make -DNOCLEANDEPENDS clean KS> Kent thanks for the tip and advice. -- Alvin mailto:bsd140870@yahoo.co.uk _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message