From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Greg Troxel Newsgroups: gmane.lisp.guile.devel Subject: Re: The load path Date: 05 Nov 2004 13:57:56 -0500 Message-ID: References: <1097949129.4178.31.camel@localhost> <874qk4fbhs.fsf@ivanova.rotty.yi.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1099681119 2093 80.91.229.6 (5 Nov 2004 18:58:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Nov 2004 18:58:39 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Nov 05 19:58:31 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CQ9I7-0000UK-00 for ; Fri, 05 Nov 2004 19:58:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CQ9QK-0003PH-Fj for guile-devel@m.gmane.org; Fri, 05 Nov 2004 14:07:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CQ9QC-0003NY-DK for guile-devel@gnu.org; Fri, 05 Nov 2004 14:06:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CQ9QB-0003Mu-GJ for guile-devel@gnu.org; Fri, 05 Nov 2004 14:06:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CQ9QB-0003Mn-Bu for guile-devel@gnu.org; Fri, 05 Nov 2004 14:06:51 -0500 Original-Received: from [192.1.100.210] (helo=fnord.ir.bbn.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CQ9Ha-0004uL-7C for guile-devel@gnu.org; Fri, 05 Nov 2004 13:57:58 -0500 Original-Received: by fnord.ir.bbn.com (Postfix, from userid 10853) id EF407216A; Fri, 5 Nov 2004 13:57:56 -0500 (EST) Original-To: Andreas Rottmann In-Reply-To: <874qk4fbhs.fsf@ivanova.rotty.yi.org> Original-Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:4340 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:4340 /etc/guile/* is pleasing, since in my experience the fundamental problem has been installing guile with one prefix, and a guile module with another. The user is expected to do (use-modules (foo bar)) but not to have to mess with %load-path. My own preference would lean toward having a clean, pkg-friendly way, to drop a file in /etc/guile/ that would make e.g. the guile in /usr/pkg be able to load modules installed in /usr/y0, by extending %load-path. This should be a file that perhaps gets called by convention load-usr-y0.scm, or some such, so that a package that installs to a different prefix can run some guile code (as root) to install the file if it isn't there, something that feels like guile-admin --persistent-load-prefix-path-add /usr/y0 -- Greg Troxel _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel