Subject: Re: bug#33279: guile-readline: error: no code for module

From: [email-masked] (Ludovic Courtès)
Date: Tue, 06 Nov 2018 12:36:36 +0100

Hello,

swedebugia <[email-masked]> skribis:

> exporting these variables did not help:
>
> $ export GUILE_LOAD_PATH=~/.guix-profile/lib/guile/2.2/:$GUILE_LOAD_PATH
> $ export
> GUILE_LOAD_COMPILED_PATH=~/.guix-profile/lib/guile/2.2/:$GUILE_LOAD_COMPILED_PATH

Rather you need:

  export GUILE_LOAD_PATH=~/.guix-profile/share/guile/site/2.2:$GUILE_LOAD_PATH
  export GUILE_LOAD_COMPILED_PATH=~/.guix-profile/lib/guile/2.2/site-ccache:$GUILE_LOAD_COMPILED_PATH

Better yet, you can install both ‘guile’ and ‘guile-readline’ in the
same profile and you’ll get a message telling you what to do:

--8<---------------cut here---------------start------------->8---
$ guix package -p foo -i guile guile-readline

[...]

La jenaj medi-variablaj difinoj povos esti necesaj:
   export PATH="foo/bin${PATH:+:}$PATH"
   export GUILE_LOAD_PATH="foo/share/guile/site/2.2${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"
   export GUILE_LOAD_COMPILED_PATH="foo/lib/guile/2.2/site-ccache:foo/share/guile/site/2.2${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"
--8<---------------cut here---------------end--------------->8---

HTH!

Ludo’.