* no code for module (ice-9 readline) running guile
@ 2019-01-10 16:30 John Soo
2019-01-10 18:56 ` Gábor Boskovits
0 siblings, 1 reply; 6+ messages in thread
From: John Soo @ 2019-01-10 16:30 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 234 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 357 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: no code for module (ice-9 readline) running guile
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:28 ` John Soo
0 siblings, 2 replies; 6+ messages in thread
From: Gábor Boskovits @ 2019-01-10 18:56 UTC (permalink / raw)
To: John Soo; +Cc: help-guix
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: no code for module (ice-9 readline) running guile
2019-01-10 18:56 ` Gábor Boskovits
@ 2019-01-10 19:23 ` david.larsson
2019-01-10 19:33 ` david.larsson
2019-01-10 19:28 ` John Soo
1 sibling, 1 reply; 6+ messages in thread
From: david.larsson @ 2019-01-10 19:23 UTC (permalink / raw)
To: Gábor Boskovits; +Cc: help-guix
[-- 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: no code for module (ice-9 readline) running guile
2019-01-10 18:56 ` Gábor Boskovits
2019-01-10 19:23 ` david.larsson
@ 2019-01-10 19:28 ` John Soo
1 sibling, 0 replies; 6+ messages in thread
From: John Soo @ 2019-01-10 19:28 UTC (permalink / raw)
To: Gábor Boskovits; +Cc: help-guix
Hi and thanks,
That’s gotta be it. I’ll try it tonight. Was that originally in a system profile and got removed?
- John
> On Jan 10, 2019, at 10:56 AM, Gábor Boskovits <boskovits@gmail.com> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: no code for module (ice-9 readline) running guile
2019-01-10 19:23 ` david.larsson
@ 2019-01-10 19:33 ` david.larsson
2019-01-11 4:56 ` John Soo
0 siblings, 1 reply; 6+ messages in thread
From: david.larsson @ 2019-01-10 19:33 UTC (permalink / raw)
To: david.larsson; +Cc: help-guix
[-- 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: no code for module (ice-9 readline) running guile
2019-01-10 19:33 ` david.larsson
@ 2019-01-11 4:56 ` John Soo
0 siblings, 0 replies; 6+ messages in thread
From: John Soo @ 2019-01-11 4:56 UTC (permalink / raw)
To: david.larsson; +Cc: help-guix
That did it. Thanks! It looks like it was no longer in the system profile and ~/.guile was a stale generated version. Is there a chance that happened to others?
> On Jan 10, 2019, at 11:33 AM, david.larsson@selfhosted.xyz wrote:
>
>> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-01-11 4:56 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2019-01-11 4:56 ` John Soo
2019-01-10 19:28 ` John Soo
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).