From owner-freebsd-questions@FreeBSD.ORG Sat Sep 24 23:03:11 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8526616A41F for ; Sat, 24 Sep 2005 23:03:11 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD73E43D48 for ; Sat, 24 Sep 2005 23:03:10 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) by mxout2.cac.washington.edu (8.13.4+UW05.04/8.13.4+UW05.09) with ESMTP id j8ON3AB1027783 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 24 Sep 2005 16:03:10 -0700 X-Auth-Received: from [192.168.0.9] (c-24-18-246-211.hsd1.wa.comcast.net [24.18.246.211]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.4+UW05.04/8.13.4+UW05.09) with ESMTP id j8ON39EC003332 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sat, 24 Sep 2005 16:03:09 -0700 Mime-Version: 1.0 (Apple Message framework v734) In-Reply-To: References: <448xxm1l6b.fsf@be-well.ilk.org> Message-Id: <7917EE41-4766-4E12-9F3D-91B5E621EE5E@u.washington.edu> From: Garrett Cooper Date: Sat, 24 Sep 2005 16:04:07 -0700 To: FreeBSD Questions X-Mailer: Apple Mail (2.734) X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __CTYPE_MULTIPART_ALT 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __MIME_HTML 0, __MIME_VERSION 0, __SANE_MSGID 0, __TAG_EXISTS_HTML 0' Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Sharing /usr/ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Sep 2005 23:03:11 -0000 On Sep 24, 2005, at 9:36 AM, Gordon Ross wrote: > On Sat, 24 Sep 2005, Lowell Gilbert wrote: > >> Gordon Ross writes: >> >> >>> I've got two FreeBSD 5.4 machines. One is a server, the other is a >>> desktop. >>> >>> I've mounted on the desktop the /usr/ports directory from the >>> server. My idea being that I could share the one /usr/ports >>> directory >>> amongst my machines and save disc space, and also save having to >>> recompile everything whenever I install a port. >>> >>> My problem is that, if I do a "make" on one machine, I can't then >>> do a >>> "make install" on the other machine. (When I try, nothing happens) >>> >>> I haven't mounted any of the directories from under /var/db (e.g. >>> pkg, >>> ports) >>> >>> Is what I'm trying to do possible ? >>> If so, what am I missing or doing wrong ? >>> >> >> It would probably be faster to build packages and let the client >> install those, but I think what you're looking for is "make >> reinstall". >> > > Ah, that seems to be doing something.. > > Thanks ! > > GTG Or maybe make clean && make && make reinstall, depending on whether or not your 2 machines archs and compile options are the same or not. Be careful just blindly running make reinstall. Plus, I'm pretty sure that you don't want the same exact options for each machine, as one is an acting server and the other is a desktop. Also, I dunno how things function across NFS or using whatever share technique you're using, but things got really weird under Gentoo Linux with NFS sharing sometimes. -Garrett