From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Greg Troxel Newsgroups: gmane.lisp.guile.user Subject: Re: Autoconf test for site scheme files Date: Sun, 12 Aug 2007 07:43:38 -0400 Message-ID: References: <22741.71296.qm@web37911.mail.mud.yahoo.com> <87wsw64hn0.fsf@chbouib.org> <46BE8C1B.8090308@wilsonjc.us> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1186919029 8547 80.91.229.12 (12 Aug 2007 11:43:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 12 Aug 2007 11:43:49 +0000 (UTC) Cc: guile-user@gnu.org To: Jon Wilson Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Aug 12 13:43:47 2007 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IKBrG-0006KY-2t for guile-user@m.gmane.org; Sun, 12 Aug 2007 13:43:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IKBrF-0001IX-CK for guile-user@m.gmane.org; Sun, 12 Aug 2007 07:43:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IKBrA-0001IJ-IH for guile-user@gnu.org; Sun, 12 Aug 2007 07:43:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IKBr9-0001I7-KB for guile-user@gnu.org; Sun, 12 Aug 2007 07:43:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IKBr9-0001I4-G9 for guile-user@gnu.org; Sun, 12 Aug 2007 07:43:39 -0400 Original-Received: from fnord.ir.bbn.com ([192.1.100.210]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IKBr9-0005gD-6c for guile-user@gnu.org; Sun, 12 Aug 2007 07:43:39 -0400 Original-Received: by fnord.ir.bbn.com (Postfix, from userid 10853) id 0F37752A8; Sun, 12 Aug 2007 07:43:38 -0400 (EDT) X-Hashcash: 1:20:070812:guile-user@gnu.org::rsMMub+xiTu8FV64:00000000000000000000000000000000000000000002C/D X-Hashcash: 1:20:070812:jsw@wilsonjc.us::6ysI1+3+KmXGB5ks:00B94j In-Reply-To: <46BE8C1B.8090308@wilsonjc.us> (Jon Wilson's message of "Sun, 12 Aug 2007 00:27:07 -0400") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (berkeley-unix) X-Detected-Kernel: Genre and OS details not recognized. X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:6104 Archived-At: Jon Wilson writes: > Using ubuntu, apt installs packages under /usr. When I find something > that either isn't up to date enough or doesn't exist in the ubuntu > repos, I build it from source. In that case, I either install to /opt > or to /usr/local. Sometimes this includes packages which want to > install guile modules (currently, it includes guile!). I try to keep > /usr untouched except by apt, but it does make sense to have these > modules in a `site' directory. > > For instance, I have guile-lib installed from the ubuntu package to > /usr/share/guile/site, and I have guile-gdbm installed to > /usr/local/share/guile/site. I think this constitutes a pragmatic > (although perhaps not good?) reason to have two site dirs. Sure, this makes sense - the problem is that people use the word site for different things. Long ago, on a 4.2 system, we had /usr/site and /usr/local. /usr/site was for the group of 15 machines (a lot of money back then!), all synced from one. /usr/local was really for the machine. Note that /usr/local isn't necessarily a good choice because on FreeBSD the packaging system puts things there. (I'm not saying it's a problem in your case.) In the present case, you're using prefix to separate package-managed and local software. I agree; I have base system (NetBSD) in /usr, pkgsrc-managed packages in /usr/pkg and my own stuf f in /usr/y0. I think it's perfectly sensible to have things in various prefixes for separation by maintenance method. What's needed is an /etc/prefixes file, or something, that many programs can read to construct their default search path. Unfortunately this is messier because different systems have different hierarchy rules (e.g., /usr/pkg/info vs /usr/local/share/info), but in the guile case it's ok. So, what do you do to get the various code loaded? symlink stuff in /opt into /usr? Adjust load-path? Also, I'm curious why you don't just update the source package yourself and build it. In pkgsrc I often just change version numbers in makefiles and build. But I have commit privs, so it isn't wasted work, and pkgsrc has differet stability rules. _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user