From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.user Subject: Re: Where to install files? Date: Thu, 13 Oct 2005 19:08:24 +0100 Message-ID: <87mzld5lyf.fsf@ossau.uklinux.net> References: <87y851xja3.fsf@ossau.uklinux.net> <87wtkl6oq7.fsf@zip.com.au> <873bn9t241.fsf@ossau.uklinux.net> <87y84zrj2o.fsf@ossau.uklinux.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1129227277 14371 80.91.229.2 (13 Oct 2005 18:14:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 Oct 2005 18:14:37 +0000 (UTC) Cc: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Oct 13 20:14:36 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EQ7W9-0008Kz-5t for guile-user@m.gmane.org; Thu, 13 Oct 2005 20:09:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EQ7W7-0000kw-EQ for guile-user@m.gmane.org; Thu, 13 Oct 2005 14:09:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EQ7VG-0000PJ-Ou for guile-user@gnu.org; Thu, 13 Oct 2005 14:08:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EQ7VE-0000OR-PO for guile-user@gnu.org; Thu, 13 Oct 2005 14:08:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EQ7VE-0000ON-MF for guile-user@gnu.org; Thu, 13 Oct 2005 14:08:28 -0400 Original-Received: from [80.84.72.33] (helo=mail3.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EQ7VE-0000Zk-54 for guile-user@gnu.org; Thu, 13 Oct 2005 14:08:28 -0400 Original-Received: from laruns (host81-130-31-36.in-addr.btopenworld.com [81.130.31.36]) by mail3.uklinux.net (Postfix) with ESMTP id 671F1409FB7; Thu, 13 Oct 2005 18:08:26 +0000 (UTC) Original-Received: from laruns (laruns [127.0.0.1]) by laruns (Postfix) with ESMTP id 7FB226F71B; Thu, 13 Oct 2005 19:08:25 +0100 (BST) Original-To: Greg Troxel In-Reply-To: (Greg Troxel's message of "11 Oct 2005 15:39:05 -0400") User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) 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:4838 Archived-At: Greg Troxel writes: >> > My own view is that a package configured with --prefix=/usr/foo should >> > install files only under /usr/foo. This leads me with guile to want >> > to extend load-path to include guile directories in other prefixes. >> >> On this point I think I disagree with you. I think there is value in >> forcing all packages to be loaded - or at least bootstrapped - from a >> known load-path that is defined by the Guile installation. > > To me it's not a question of value. /usr/pkg belongs to pkgsrc, and > to first order other stuff (meaning unmanaged and unrecord stuff) > should not be there. I'm not sure we're actually disagreeing here. My scheme would support locations other than under /usr/pkg, so it doesn't conflict with your last sentence. That said, I've now modified my proposal to allow locations to be added dynamically as you've suggested. I'll post that a little later. > It's an autoconf (configure script really) directive, or perhaps one > that's commonly added, meant to specify where config files go, > defaulting to $(prefix)/etc or $(prefix)/etc/PACKAGE, but commonly > used to force things to /etc/PACKAGE, especially on systems where > people want that. Thanks. > I kind of like having several standard places within a prefix, as seen > on NetBSD now: > > guile> %load-path > ("/usr/pkg/share/guile/site" "/usr/pkg/share/guile/1.6" > "/usr/pkg/share/guile" ".") > > Or rather, if that continues, I'd like to specify extra prefixes, with > the load path being the cross product of within-prefix places and > prefixes. But perhaps also single dirs. That sounds too complicated to me! And my way already allows you to have .../1.6 and .../site when you want them. > I'd like a load-path directory, with files whose names are irrelevant > but whose contets are dirs to add to the load path. This is > pkg-friendly since they can be deleted and added automatically without > merge/editing issues, using the fs to represent set semantics. > >> > It might also be nice to have a run-time method to >> > >> > guile-configer --addsearchprefix=/usr/bar >> > >> > so that someone building another package to /usr/bar can invoke this >> > on the system guile to hook in the new path. My new proposal isn't organized exactly as you suggest, but it allows the same operations. Regards, Neil _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user