When a file to be compiled, A.scm, contains (include "B.scm"), the
compiler fails to find B.scm if the directory containing A and B are in
Guile's load path.
Here's a shell transcript showcasing the bug:
--- snip ---
$ mkdir test
$ echo '(include "test2.scm")' > test/test1.scm
$ echo '(display "f
hi,
i am getting a compilation error which seems odd to me, with guile version
2.1.0.455-73f61, compiled from the commit from 2015-09-18.
here are several scenarios i tried:
# code in a file
## file contents
(add-to-load-path "test")
## compilation
guile t.scm
;;; note: auto-compilation
taylanbayi...@gmail.com (Taylan Ulrich "Bayırlı/Kammer") writes:
> This seems to be related to 'compile-file' setting
> '%file-port-name-canonicalization' to 'relative', but I don't know
> what the correct fix is.
With the following trivial patch changing 'relative' to 'absolute',
Guile's test su