all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: david.larsson@selfhosted.xyz
To: david.larsson@selfhosted.xyz
Cc: help-guix <help-guix@gnu.org>
Subject: Re: no code for module (ice-9 readline) running guile
Date: Thu, 10 Jan 2019 20:33:54 +0100 (CET)	[thread overview]
Message-ID: <alpine.DEB.2.21.1901102033220.31193@Librem13v3> (raw)
In-Reply-To: <alpine.DEB.2.21.1901102023260.31193@Librem13v3>

[-- Attachment #1: Type: text/plain, Size: 1838 bytes --]

On Thu, 10 Jan 2019, david.larsson@selfhosted.xyz wrote:

> 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
sorry, that line should have been:

   export GUILE_LOAD_PATH="~/.guix-profile/share/guile/site/2.0${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"

or whatever your correct path is to the ice-9 dir.

>
> 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

  reply	other threads:[~2019-01-10 19:34 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
2019-01-10 19:33     ` david.larsson [this message]
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

* 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.1901102033220.31193@Librem13v3 \
    --to=david.larsson@selfhosted.xyz \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.