From: david.larsson@selfhosted.xyz
To: "Gábor Boskovits" <boskovits@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: no code for module (ice-9 readline) running guile
Date: Thu, 10 Jan 2019 20:23:33 +0100 (CET) [thread overview]
Message-ID: <alpine.DEB.2.21.1901102023260.31193@Librem13v3> (raw)
In-Reply-To: <CAE4v=pgE=JKQ=78ukPrGFASLEH1Qt3yLLFqwW57ATmw5uEZmhQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1495 bytes --]
On Thu, 10 Jan 2019, Gábor Boskovits wrote:
> Hello,
>
> could you could try installing the guile-readline package, or create
> an evironment with it, like guix environment --ad-hoc guile-readline
>
> John Soo <jsoo1@asu.edu> 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?
>>
>> Thanks,
>>
>> John
>
> Best regards,
> g_bor
>
Hi,
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:
export GUILE_LOAD_PATH="/root/.guix-profile/include${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH
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
unrelated.
Regards,
David L
next prev parent reply other threads:[~2019-01-10 19:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-10 16:30 no code for module (ice-9 readline) running guile John Soo
2019-01-10 18:56 ` Gábor Boskovits
2019-01-10 19:23 ` david.larsson [this message]
2019-01-10 19:33 ` david.larsson
2019-01-11 4:56 ` John Soo
2019-01-10 19:28 ` John Soo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.21.1901102023260.31193@Librem13v3 \
--to=david.larsson@selfhosted.xyz \
--cc=boskovits@gmail.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).