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: 17 Oct 2005 13:52:18 -0400 Message-ID: References: <878xwx5ld2.fsf@ossau.uklinux.net> <8764s0a7e6.fsf@laas.fr> <8764rzj8py.fsf@ossau.uklinux.net> <87ach8bmdg.fsf@laas.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1129571721 15146 80.91.229.2 (17 Oct 2005 17:55:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Oct 2005 17:55:21 +0000 (UTC) Cc: Guile Users , Neil Jerram Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Oct 17 19:55:19 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ERZ9u-0006cb-KB for guile-user@m.gmane.org; Mon, 17 Oct 2005 19:52:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ERZ9t-0004Kw-RX for guile-user@m.gmane.org; Mon, 17 Oct 2005 13:52:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ERZ9p-0004I4-Bk for guile-user@gnu.org; Mon, 17 Oct 2005 13:52:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ERZ9n-0004G3-LF for guile-user@gnu.org; Mon, 17 Oct 2005 13:52:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ERZ9n-0004Fw-Hy for guile-user@gnu.org; Mon, 17 Oct 2005 13:52:19 -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 1ERZ9n-0001QG-Dm for guile-user@gnu.org; Mon, 17 Oct 2005 13:52:19 -0400 Original-Received: by fnord.ir.bbn.com (Postfix, from userid 10853) id 6D4275453; Mon, 17 Oct 2005 13:52:18 -0400 (EDT) Original-To: ludovic.courtes@laas.fr (=?iso-8859-1?q?Ludovic_Court=E8s?=) In-Reply-To: <87ach8bmdg.fsf@laas.fr> Original-Lines: 45 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:4858 Archived-At: ludovic.courtes@laas.fr (Ludovic Court=E8s) writes: > I don't think we should reason about installation directories in terms > of packaging-system-managed vs. human-managed installations. I think > the packaging system is just a special case of the "human-managed > installation". However, packaging systems do provide an important > installation pattern that has to be made possible to use. The point is that package systems demand exclusive access, and this is on of the reasons to use multiple prefixes. > I guess the Guile-specific installation directories, for any given Guile > module set (I'm not talking about modules that come with Guile), are: >=20 > - `guileschemedir', which is where Guile Scheme source files should > get installed; by default, this could be > `/usr/share/guile/MAJOR.MINOR'; It's not clear why this but not libdir should be versioned. > - `guilelibdir', which is where C libraries (glue code, wrappers, > etc.) that come with a module should go; by default, this could be > `/usr/local/lib'; arguably should be $(prefix)/lib/guile to keep from polluting lib. > - `guileobjectdir', which is where we'd put byte-compiled code if we > had a working VM. ;-) this belongs under share, since it's machine independent. > OTOH, it might be a good idea to make it aware of `guilelibdir'. This > way, if Guile is able to load a `.scm' file, it would _always_ be able > to load the shared object it opens via `dynamic-link', no matter what > LTDL_LIBRARY_PATH and friends look like. Perhaps dynamic-link should look in guilelibdir _only_ if an absolute path is not given, or a primitive that does this. One important feature is that inclusion, dynamic link, etc. should be able to ensure it gets exactly what was searched for and tested at configure time. --=20 Greg Troxel _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user