blackhole icon indicating copy to clipboard operation
blackhole copied to clipboard

BH fails to load a module in a package that forces compilation if there is no o* file

Open alvatar opened this issue 14 years ago • 1 comments

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

alvatar avatar Feb 07 '12 10:02 alvatar

Possible fix? https://github.com/alvatarc/blackhole/commit/f49d3b0be5e6295245913142df1c4741b6df9018

alvatar avatar Feb 25 '12 17:02 alvatar