guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SLIB support


From: Andreas Rottmann
Subject: Re: SLIB support
Date: Thu, 13 Sep 2007 15:14:14 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> Hi Andreas,
>
> Andreas Rottmann <address@hidden> writes:
>
>>> Currently on my System (Debian sid), Guile 1.8 does not support
>>> SLIB. I have done a preliminary patch (attached) that makes the module
>>> (ice-9 slib) load the guile.init file from SLIB, which seems to work
>>> fine AFAICS.
>
> The status of `(ice-9 slib)' has been discussed recently, the outcome
> being that a solution similar to yours should be implemented [0].
>
> However, instead of configure-time detection, I'd rather lean towards
> using `load-from-path' without making any configure-time detection.
> This would make it clear that SLIB is not a hard dependency and would
> allow users to install/upgrade it afterwards.  Is that OK?
>
I've now updated my patch (attached) to use a %LOAD-PATH search; it
looks for any of "slib/init/guile.init" (Debian) and "slib/guile.init"
(default installation) and loads it if found, erring out if there's no
such file in the %LOAD-PATH.

Attachment: slib.diff
Description: Text Data

Regards, Rotty
-- 
Andreas Rottmann         | address@hidden      | address@hidden | address@hidden
http://rotty.uttx.net    | GnuPG Key: http://rotty.uttx.net/gpg.asc
Fingerprint              | C38A 39C5 16D7 B69F 33A3  6993 22C8 27F7 35A9 92E7
v2sw7MYChw5pr5OFma7u7Lw2m5g/l7Di6e6t5BSb7en6g3/5HZa2Xs6MSr1/2p7 hackerkey.com

It's *GNU*/Linux dammit!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]