From mboxrd@z Thu Jan 1 00:00:00 1970 From: david.larsson@selfhosted.xyz Subject: Re: no code for module (ice-9 readline) running guile Date: Thu, 10 Jan 2019 20:33:54 +0100 (CET) Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="-1463766527-1832696237-1547148835=:31193" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:60092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghg5i-0005Kt-QH for help-guix@gnu.org; Thu, 10 Jan 2019 14:34:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ghg5i-0005PK-08 for help-guix@gnu.org; Thu, 10 Jan 2019 14:34:10 -0500 Received: from server0.selfhosted.xyz ([185.147.237.19]:43676) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ghg5h-0005NT-DG for help-guix@gnu.org; Thu, 10 Jan 2019 14:34:09 -0500 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 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1463766527-1832696237-1547148835=:31193 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable On Thu, 10 Jan 2019, david.larsson@selfhosted.xyz wrote: > On Thu, 10 Jan 2019, G=C3=A1bor Boskovits wrote: > >> Hello, >>=20 >> could you could try installing the guile-readline package, or create >> an evironment with it, like guix environment --ad-hoc guile-readline >>=20 >> John Soo ezt =C3=ADrta (id=C5=91pont: 2019. jan. 10., = Cs, 17:30): >>>=20 >>> Hello all, >>>=20 >>> I have an issue running guile from command line, namely "no code for=20 >>> module (ice-9 readline). I'm pretty sure the load path is correct in = my=20 >>> profile and I haven't touched ~/.guile. Any clues on what to do? >>>=20 >>> Thanks, >>>=20 >>> John >>=20 >> Best regards, >> g_bor >>=20 > > 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=20 > GUILE_LOAD_PATH=3D"/root/.guix-profile/include${GUILE_LOAD_PATH:+:}$GUI= LE_LOAD_PATH sorry, that line should have been: export GUILE_LOAD_PATH=3D"~/.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 ---1463766527-1832696237-1547148835=:31193--