[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `include' relative to current file
From: |
Andy Wingo |
Subject: |
Re: `include' relative to current file |
Date: |
Mon, 21 Jan 2013 10:01:22 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
Hi Jay,
On Mon 21 Jan 2013 07:08, Jay Sulzberger <address@hidden> 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 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
--
http://wingolog.org/