From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Soo Subject: Re: no code for module (ice-9 readline) running guile Date: Thu, 10 Jan 2019 20:56:37 -0800 Message-ID: <30B13A52-45F0-4222-9302-EF62F4B4C21C@asu.edu> References: Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:43124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghosD-0007gG-RA for help-guix@gnu.org; Thu, 10 Jan 2019 23:56:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ghosC-0007do-0F for help-guix@gnu.org; Thu, 10 Jan 2019 23:56:49 -0500 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]:42805) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ghosA-0007Zp-4L for help-guix@gnu.org; Thu, 10 Jan 2019 23:56:47 -0500 Received: by mail-pf1-x431.google.com with SMTP id 64so6362496pfr.9 for ; Thu, 10 Jan 2019 20:56:43 -0800 (PST) In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: david.larsson@selfhosted.xyz Cc: help-guix That did it. Thanks! It looks like it was no longer in the system profile an= d ~/.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: >=20 >> On Thu, 10 Jan 2019, david.larsson@selfhosted.xyz wrote: >>=20 >>> On Thu, 10 Jan 2019, G=C3=A1bor Boskovits wrote: >>>=20 >>> 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 ezt =C3=ADrta (id=C5=91pont: 2019. jan. 10., Cs= , 17:30): >>>> Hello all, >>>> I have an issue running guile from command line, namely "no code for mo= dule (ice-9 readline). I'm pretty sure the load path is correct in my profil= e and I haven't touched ~/.guile. Any clues on what to do? >>>> Thanks, >>>> John >>> Best regards, >>> g_bor >>=20 >> Hi, >> I don't have a good fix, but a couple suggestions for a workaround. >>=20 >> 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: >>=20 >> export GUILE_LOAD_PATH=3D"/root/.guix-profile/include${GUILE_LOAD_PATH:+:= }$GUILE_LOAD_PATH > sorry, that line should have been: >=20 > export GUILE_LOAD_PATH=3D"~/.guix-profile/share/guile/site/2.0${GUILE_LOA= D_PATH:+:}$GUILE_LOAD_PATH" >=20 > or whatever your correct path is to the ice-9 dir. >=20 >>=20 >> and rerun your script. >>=20 >> 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. >>=20 >> 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. >>=20 >> Regards, >> David L