[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: no code for module (ice-9 readline) running guile
From: |
John Soo |
Subject: |
Re: no code for module (ice-9 readline) running guile |
Date: |
Thu, 10 Jan 2019 20:56:37 -0800 |
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, address@hidden wrote:
>
>> On Thu, 10 Jan 2019, address@hidden 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 <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?
>>>> 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