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: Modified load-path proposal Date: 13 Oct 2005 14:40:14 -0400 Message-ID: References: <878xwx5ld2.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 1129229014 20868 80.91.229.2 (13 Oct 2005 18:43:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 Oct 2005 18:43:34 +0000 (UTC) Cc: Guile Users Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Oct 13 20:43:28 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EQ805-0007kS-Ly for guile-user@m.gmane.org; Thu, 13 Oct 2005 20:40:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EQ805-0004ew-5n for guile-user@m.gmane.org; Thu, 13 Oct 2005 14:40:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EQ800-0004dL-UG for guile-user@gnu.org; Thu, 13 Oct 2005 14:40:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EQ7zz-0004ay-Cd for guile-user@gnu.org; Thu, 13 Oct 2005 14:40:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EQ7zz-0004as-Ad for guile-user@gnu.org; Thu, 13 Oct 2005 14:40:15 -0400 Original-Received: from [192.1.100.210] (helo=fnord.ir.bbn.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EQ7zz-0002YR-FU for guile-user@gnu.org; Thu, 13 Oct 2005 14:40:15 -0400 Original-Received: by fnord.ir.bbn.com (Postfix, from userid 10853) id 7BF555453; Thu, 13 Oct 2005 14:40:14 -0400 (EDT) Original-To: Neil Jerram In-Reply-To: <878xwx5ld2.fsf@ossau.uklinux.net> Original-Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 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:4841 Archived-At: We need remove-load-path too, for cleanup. It's not clear to me how the default version of config shows up in a fresh guile build/install. I'd argue that only the traditional three dirs in prefix should be there by default. Perhaps configure can have a "--add-load-path /usr/local/share/guile" to make the install search this, and this can be invoked by packaging systems that want it. By ;; 5. Code for GUILE_SCHEME_DIR autoconf macro This doesn't support the notion of putting things in $(prefix)/share/guile, and adding that to the load path of the existing guile when you do install. Perhaps setting that up should be a standard pre-step before building the new package, but I believe that a package configured with --prefix=/usr/foo should only write to /usr/foo. I realize others disagree, but I'd like the mechanisms to support this behavior. perhaps the tag for /usr/foo/share/guile should be /usr/foo, so packages can search for a load dir by their prefix. Perhaps there should be an optional argument that returns the path now and causes creation of it at make install time. -- Greg Troxel _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user