Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Apr 2001 14:17:39 +0800
From:      Alvin Sim <bsd140870@yahoo.co.uk>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re[2]: Installing port(s) from an NFS server
Message-ID:  <5813085736.20010411141739@yahoo.co.uk>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5813085736.20010411141739>