Dear guix: Using guixSD, installed guile and try to run it from shell. I got the following error:
------ start ------ ~ $ cat .guile (use-modules (ice-9 readline)) ;; Enable completion at the REPL. (activate-readline) (use-modules (oop goops))~ $ ~ $ guile Backtrace: 12 (apply-smob/1 #<catch-closure b14c20>) In ice-9/boot-9.scm: 705:2 11 (call-with-prompt ("prompt") #<procedure d5f420 at ice-9/eval.scm:330:13 ()> #<procedure default-prompt-handler (k proc)>) In ice-9/eval.scm: 619:8 10 (_ #(#(#<directory (guile-user) bc1140>))) In unknown file: 9 (primitive-load "/home/wxie/.guile") In ice-9/eval.scm: 721:20 8 (primitive-eval (use-modules (ice-9 readline))) In ice-9/psyntax.scm: 1235:36 7 (expand-top-sequence ((use-modules (ice-9 readline))) _ _ #f e (eval) (hygiene guile-user)) 1182:24 6 (parse _ (("placeholder" placeholder)) ((top) #(ribcage () () ())) _ e (eval) (hygiene guile-user)) 285:10 5 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) (hygiene guile-user)) In ice-9/boot-9.scm: 3365:20 4 (process-use-modules _) 222:17 3 (map1 (((ice-9 readline)))) 3366:31 2 (_ ((ice-9 readline))) 2791:6 1 (resolve-interface _ #:select _ #:hide _ #:prefix _ #:renamer _ #:version _) In unknown file: 0 (scm-error misc-error #f "~A ~S" ("no code for module" (ice-9 readline)) #f) ERROR: In procedure scm-error: no code for module (ice-9 readline) ~ $ guile -q GNU Guile 2.2.3 Copyright (C) 1995-2017 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guile-user)> (version) $1 = "2.2.3" ------- end -------- Is this an error or my wrong configuration? best regards, wxie -- I'm an FSF member -- Help us support software freedom! https://my.fsf.org/join