On 26 Jan 2011, at 22:10, Andy Wingo wrote:
When starting with 'guile -l', autocompiling fails, even with an
empty file.
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.
Thanks for the detailed report. I believe I've fixed this in git to
give a more sensible error.
On Mac OS X, there are two locations for cached objects; when put
there, the system will assume they can be regenerated and not be
backed up. These would be
~/Library/Caches/Guile/
/Library/Caches/Guile/
if keeping to Mac tradition using uppercase names. One can also mark
~/.cache/ to be the same kind of area.