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:23:33 +0100 (CET) Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="-1463766527-556863113-1547148215=:31193" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:57760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghfvr-0008P7-Ak for help-guix@gnu.org; Thu, 10 Jan 2019 14:24:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ghfvq-0004jL-H8 for help-guix@gnu.org; Thu, 10 Jan 2019 14:23:59 -0500 Received: from server0.selfhosted.xyz ([185.147.237.19]:43606) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ghfvp-0004bP-Vq for help-guix@gnu.org; Thu, 10 Jan 2019 14:23:58 -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: =?UTF-8?Q?G=C3=A1bor_Boskovits?= 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-556863113-1547148215=:31193 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable On Thu, 10 Jan 2019, G=C3=A1bor 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 ezt =C3=ADrta (id=C5=91pont: 2019. jan. 10., C= s, 17:30): >> >> Hello all, >> >> I have an issue running guile from command line, namely "no code for m= odule (ice-9 readline). I'm pretty sure the load path is correct in my pr= ofile 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=3D"/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 ---1463766527-556863113-1547148215=:31193--