[Top][All Lists]

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

Re: no code for module (ice-9 readline) running guile

From: david . larsson
Subject: Re: no code for module (ice-9 readline) running guile
Date: Thu, 10 Jan 2019 20:23:33 +0100 (CET)

On Thu, 10 Jan 2019, Gábor Boskovits wrote:


could you could try installing the guile-readline package, or create
an evironment with it, like guix environment --ad-hoc guile-readline

John Soo <address@hidden> ezt írta (időpont: 2019. jan. 10., Cs, 17:30):

Hello all,

I have an issue running guile from command line, namely "no code for module 
(ice-9 readline). I'm pretty sure the load path is correct in my profile and I 
haven't touched ~/.guile.  Any clues on what to do?



Best regards,

I don't have a good fix, but a couple suggestions for a workaround.

1. To verify paths you can check 'echo $GUILE_LOAD_PATH' and 'echo
$GUILE_LOAD_COMPILED_PATH' from cli, and from guile REPL you can check
for example (display %load-path). If necessary you can add a statement
in bash like:


and rerun your script.

2. Secondly, you can look up the guile install directory, to check for
the folder where you can find the ice-9 directory. If the ice-9 dir is
located in ~/.guix-profile/share/guile/site/2.0 and there's a readline
file inside, you can start guile with guile -L
~/.guix-profile/share/guile/site/2.0 myscript.scm.

Im also having issues with guile when running guix as a stand-alone
package manager while it works fine with GuixSD but that's possibly

David L

reply via email to

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