pereckerdal/blackhole — Issue #37: BH fails to load a module in a package that forces compilation if there is no o* file
Author: alvatarc
Created: 2012-02-07 10:45:12+00:00
State: open

If you load a module from a package "(import (ffi-cairo))", and compilation is forced, you get an error of this kind:

*** ERROR IN bh#module-compile-bunch -- Invalid argument to module-compile-bunch (files) (#(56BBBA2B-66E5-49A7-A74A-D6992792526E v0.1 "ffi-cairo" "cairo"))

The only way to avoid it is to compile it by other means, like "bh compile cairo.scm" in the command line, or importing it as a relative path "(import ../ffi-cairo/cairo)"

If the .o* file is found, the compilation is not forced and this issue is bypassed