[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Debugging Guile module loading
From: |
Mike Gran |
Subject: |
Re: Debugging Guile module loading |
Date: |
Mon, 12 Mar 2018 13:40:19 -0700 |
User-agent: |
Mutt/1.9.2 (2017-12-15) |
On Mon, Mar 12, 2018 at 07:25:15PM +0000, Christopher Baines wrote:
> Hey,
>
> I'm having some trouble with Guile module loading. I've got a
> (use-modules ...) call which results in some warnings, which seem to be
> actually more like errors, as the modules aren't loaded.
>
> From loading one module, I get two errors in the form:
>
> warning: failed to load '...':
> Unbound variable: ...
>
> The modules and variables all exist, but as far as I understand Guile
> modules, they shouldn't be required for loading the module requested.
>
> Any tips on debugging use-modules? Initially it would be good to work
> out what modules it's attempting to load.
I often find that, using "LD_DEBUG=all guile" will reveal the
problem, somewhere at the bottom of its very verbose output.