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: Modified load-path proposal Date: Thu, 12 Jan 2006 18:01:33 +0000 Message-ID: <87bqyhjpfm.fsf@ossau.uklinux.net> References: <878xwx5ld2.fsf@ossau.uklinux.net> <87u0fl3wam.fsf@ossau.uklinux.net> <87oe5s51l4.fsf@ivanova.rotty.yi.org> <87ek6njah0.fsf@ossau.uklinux.net> <87r7adf8h1.fsf@zip.com.au> <87vezhbknv.fsf@ossau.uklinux.net> <87u0ey3mph.fsf@ossau.uklinux.net> <873bmf4ey4.fsf@laas.fr> <87y832l4af.fsf@ossau.uklinux.net> <87irttpf2c.fsf@laas.fr> <87r78duc9d.fsf@ossau.uklinux.net> <87hd99z7q2.fsf@laas.fr> <87bqyonopf.fsf@ossau.uklinux.net> 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 1137098214 5517 80.91.229.2 (12 Jan 2006 20:36:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 Jan 2006 20:36:54 +0000 (UTC) Cc: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Jan 12 21:36:52 2006 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ex9BS-0006zS-4e for guile-user@m.gmane.org; Thu, 12 Jan 2006 21:36:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ex9DX-0000lr-To for guile-user@m.gmane.org; Thu, 12 Jan 2006 15:38:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ex6pn-0002MM-JH for guile-user@gnu.org; Thu, 12 Jan 2006 13:06:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ex6pl-0002Kz-0e for guile-user@gnu.org; Thu, 12 Jan 2006 13:06:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ex6pj-0002KV-Gp for guile-user@gnu.org; Thu, 12 Jan 2006 13:05:59 -0500 Original-Received: from [80.84.72.33] (helo=mail3.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ex6sZ-0006xU-Mh for guile-user@gnu.org; Thu, 12 Jan 2006 13:08:55 -0500 Original-Received: from laruns (host86-129-132-201.range86-129.btcentralplus.com [86.129.132.201]) by mail3.uklinux.net (Postfix) with ESMTP id 15AE0409FB1; Thu, 12 Jan 2006 18:03:48 +0000 (UTC) Original-Received: from laruns (laruns [127.0.0.1]) by laruns (Postfix) with ESMTP id 032CF9F94C; Thu, 12 Jan 2006 18:01:33 +0000 (GMT) Original-To: steve tell In-Reply-To: (steve tell's message of "Tue, 10 Jan 2006 23:49:59 -0500 (EST)") 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:5085 Archived-At: steve tell writes: > Just a little note to say that I've been following along and am glad > this is being discussed - and of course a few comments. Thanks for both! >> ludovic.courtes@laas.fr (Ludovic Court=E8s) writes: >> >>> Because people haven't been doing so for years. Some of us certainly >>> don't want to iterate over each and every Guile module to add this line. > > I agree that an addition to the module-using or module-declaring forms > should be avoided. OK. > This general guideline seems to be on the right track: > Lots of tools seem to have grown foo.conf.d directories, probably > because they're friendly to package managers. > > Would a survey of conventions for such configuration-directories and > how they work be fruitful?=20 Yes, if you already have one; I wouldn't spend too much time, though, because there are reasons why a good system for one app is not good for another. (Emacs vs. Guile, for example.) > One thing I notice is that systems where performance is important > seem to "compile" the contents of the config directory into a single > file which can be read rapidly. [...] The guile analogy might be > guile-config (a program run by package-post-install scripts) > collecting %load-path fragments from $prefix/etc/guile-conf.d/* into > $prefix/share/guile/config.scm (where $prefix is the prefix that > guile was built with). Yes, this is pretty much the direction we seem to be moving in now: see my last post in the "Another load path idea" thread. > Important details to address: > - how to control the order in which things appear in %load-path My inclination is that it is a bug if order is important, but I don't have much experience to be sure about this yet. Do you have real examples where ordering is important? > - how to make this play well with multiple versions of guile installed > on the same system. Can you say more about the problems you have in mind, and how you think they can be addressed? >> It seems to me that neither of these ideas (yours and mine) quite fly >> yet. I have yet another idea, though, that I'll post in a separate >> thread shortly. > > I'll look for that and keep reading. Thanks for thinking about this. Thanks; it's the "Another load path idea" thread. > My interest in part comes from maintaining a package that uses guile > and guile-gtk. It seems that most of my users' problems come when > they try to install guile-gtk from source (into /usr/local) but have > guile installed from their linux distribution (in /usr). > My advice to date is generally to always install guile-gtk and guile > in the same way: either both from source (say into /usr/local) or to > build and install both using their package manager. Or else to become > wizards at setting up the right environment variables. > But it would be nice if the more common case would just work. Yes, this is exactly the kind of case I have in mind as needing fixing. (And I have very similar cases with my packages.) Regards, Neil _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user