Open ice1000 opened 4 years ago
@ice1000
I recall a similar issue for macOS which was fixed in this PR - https://github.com/edwinb/Idris2/pull/210/files.
I'm wondering whether the Makefile is getting confused and producing a dll
instead of an so
file.
Could you check the output of gcc -dumpmachine
? Does the output contains cygwin
, mingw
, or windows
? I suspect it might be showing mingw
in which case this would need to be taken care of in the Makefile(s).
I think chez
is perfectly innocent here!
~/git-repos/idris2|master λ> gcc -dumpmachine
x86_64-linux-gnu
@timmyjose
With the new test suite it becomes
Exception: (while loading libcb.so) libcb.so: cannot open shared object file: No such file or directory
chez/chez010: FAILURE
Golden value differs from actual value.
Accept actual value as new golden value? [yn]
n
chez/chez011: success
chez/chez012: success
Exception: (while loading libstruct.so) libstruct.so: cannot open shared object file: No such file or directory
chez/chez013: FAILURE
Golden value differs from actual value.
Accept actual value as new golden value? [yn]
n
chez/chez014: success
202/204 tests successful
Makefile:5: recipe for target 'test' failed
make[1]: *** [test] Error 1
make[1]: Leaving directory '/home/ice1000/git-repos/idris2/tests'
Makefile:123: recipe for target 'test' failed
make: *** [test] Error 2
It's still erroring but looks nicer
Master version of Idris2, getting this:
Where should I obtain
libcb.so
andlibstruct.so
? I'm using Chez scheme 9.5