Build error on Linux: libbinaryen.a
lrettig opened this issue · 4 comments
lrettig commented
Getting the following error when I run cmake --build
:
gmake[2]: *** No rule to make target `deps/lib/libbinaryen.a', needed by `src/libhera.so'. Stop.
gmake[1]: *** [src/CMakeFiles/hera.dir/all] Error 2
gmake: *** [all] Error 2
Manually copying libbinaryen.a
from deps/lib64
seems to have worked.
Hera commit is https://github.com/ewasm/hera/commits/753dafc4f6e26d47fbbf3a119321689ca785b1b1. I'm running vanilla Amazon Linux:
> uname -a
Linux ip-172-31-69-70.ec2.internal 4.14.62-70.117.amzn2.x86_64 #1 SMP Fri Aug 10 20:14:53 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
> cmake --version
cmake version 3.12.2
Note that the same error (and workaround) was reported here: moneroexamples/compile-cpp-ethereum-on-arch#3
jakelang commented
note that this also sometimes happens on aleth build with `libbinaryen.a`
and `libmpir.a`. I am guessing that binaryen's cmake package may have an
issue.
…On Tue, Sep 25, 2018, 16:38 Lane Rettig ***@***.***> wrote:
Getting the following error when I run cmake --build:
gmake[2]: *** No rule to make target `deps/lib/libbinaryen.a', needed by `src/libhera.so'. Stop.
gmake[1]: *** [src/CMakeFiles/hera.dir/all] Error 2
gmake: *** [all] Error 2
Manually copying libbinaryen.a from deps/lib64 seems to have worked.
Hera commit is
https://github.com/ewasm/hera/commits/753dafc4f6e26d47fbbf3a119321689ca785b1b1.
I'm running vanilla Amazon Linux:
> uname -a
Linux ip-172-31-69-70.ec2.internal 4.14.62-70.117.amzn2.x86_64 #1 SMP Fri Aug 10 20:14:53 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
> cmake --version
cmake version 3.12.2
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#431>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHEQh6q8XP8RD4iw3EZ1etfySfHDkfkqks5uepRNgaJpZM4W5b5z>
.
chfast commented
What a fancy distribution do you have? I will fix it.
axic commented