From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jay Sulzberger Newsgroups: gmane.lisp.guile.devel Subject: Re: `include' relative to current file Date: Tue, 22 Jan 2013 00:54:48 -0500 (EST) Message-ID: References: <87txqbac2y.fsf@pobox.com> <87ip6q9afx.fsf@pobox.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: ger.gmane.org 1358834094 13243 80.91.229.3 (22 Jan 2013 05:54:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Jan 2013 05:54:54 +0000 (UTC) To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Jan 22 06:55:13 2013 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TxWpF-0003ye-6Q for guile-devel@m.gmane.org; Tue, 22 Jan 2013 06:55:13 +0100 Original-Received: from localhost ([::1]:40860 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxWoy-0004fK-7X for guile-devel@m.gmane.org; Tue, 22 Jan 2013 00:54:56 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxWos-0004fF-CW for guile-devel@gnu.org; Tue, 22 Jan 2013 00:54:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TxWor-0007GE-7p for guile-devel@gnu.org; Tue, 22 Jan 2013 00:54:50 -0500 Original-Received: from mailbackend.panix.com ([166.84.1.89]:35715) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxWor-0007GA-3n for guile-devel@gnu.org; Tue, 22 Jan 2013 00:54:49 -0500 Original-Received: from panix3.panix.com (panix3.panix.com [166.84.1.3]) by mailbackend.panix.com (Postfix) with ESMTP id 4C47D2E67B for ; Tue, 22 Jan 2013 00:54:48 -0500 (EST) Original-Received: by panix3.panix.com (Postfix, from userid 7271) id 43CFB8FDDE; Tue, 22 Jan 2013 00:54:48 -0500 (EST) Original-Received: from localhost (localhost [127.0.0.1]) by panix3.panix.com (Postfix) with ESMTP id 426438FDDA; Tue, 22 Jan 2013 00:54:48 -0500 (EST) In-Reply-To: <87ip6q9afx.fsf@pobox.com> X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 166.84.1.89 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:15521 Archived-At: On Mon, 21 Jan 2013, Andy Wingo wrote: > Hi Jay, Hi, Andy! > > On Mon 21 Jan 2013 07:08, Jay Sulzberger writes: > >> /usr/share/slib/guile-2.init >> >> and made a symlink from /usr/share/slib/guile.init pointing to above file. > > FWIW if you use slib from CVS, the included "guile.init" will include > the "guile-2.init" transparently if you are on Guile 2.0, and fall back > to the older code otherwise. I have pulled the latest slib and I see the conditional include of guile-2.init inside guile.init. > >> I still was not able to just start up guile-2.0 and do >> >> (use-modules (ice-9 slib)) >> >> and have slib working. > > Seems to work for me. Ah, one thing: you need to update your ice-9/slib.scm > as well. See commit b194b59fa10574868f7b1663a1f2d447baa18c5e. > >> Likely this hard coding of the path to slib's guile.init is not >> the right way to repair the guile-slib system. > > Not sure. You could install slib to the load path. On Debian systems, > the hacks from b194b59fa10574868f7b1663a1f2d447baa18c5e will work. On > other systems, I guess we'll get bug reports :) > > Cheers, > > Andy I have pulled the latest guile and though I have not yet checked that commit, I have seen the latest code in slib.scm and it is better than my hard-code-the-path fix. I will look and see if I can figure out how %load-path and load-from-path and allied stuff works. Thank you, Guile team! oo--JS. > -- > http://wingolog.org/ > >