Idris2-boot
Idris2-boot copied to clipboard
WSL1 install error
Master version of Idris2, getting this:
Exception: (while loading libcb.so) libcb.so: cannot open shared object file: No such file or directory
chez/chez010: FAILURE
Expected:
"9\nCallback coming\nIn callback\n24\nCallback coming\nIn callback with (1, 2)\n3\n9\n'k'\n1/1: Building CB (CB.idr)\nMain> Main> Bye for now!\n"
Given:
"1/1: Building CB (CB.idr)\nMain> Main> Bye for now!\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
Expected:
"(40, 30)\n\"Here\": (40, 30)\nMade it!\n1/1: Building Struct (Struct.idr)\nMain> Main> Bye for now!\n"
Given:
"1/1: Building Struct (Struct.idr)\nMain> Main> Bye for now!\n"
chez/chez014: success
200/202 tests successful
Makefile:4: 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
Where should I obtain libcb.so and libstruct.so? I'm using Chez scheme 9.5
@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