|
From: | Hans Aberg |
Subject: | Re: GIT version: autocompiling startup file |
Date: | Fri, 21 Jan 2011 11:04:24 +0100 |
On 21 Jan 2011, at 00:07, Mark Harig wrote:
When starting with 'guile -l', autocompiling fails, even with an empty file.$ guile -l empty.scm ;;; note: autocompilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-autocompile argument to disable. ;;; compiling empty.scm ;;; WARNING: compilation of empty.scm failed:;;; key wrong-type-arg, throw_args ("dirname" "Wrong type argument in position ~A (expecting ~A): ~S" (1 "string" #f) (#f))GNU Guile 1.9.14.68-a7d8aThis is not happening on my build of guile 1.9.14.
I found the error:On my computer, the directory ~/.cache/ had already been created by another program, setting another owner so that guile could not create its directories in it. Then, in the function compiled-file-name in file system/base/compile.scm, the exception from ensure-writable-dir is converted to #f, which is the argument after "string" in the error message above.
By contrast, if it compiles, the location of the .go file is written out.
[Prev in Thread] | Current Thread | [Next in Thread] |