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-a7d8a
This 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.