fluence
fluence copied to clipboard
lyaml dependency inexplicit
When following the installation instructions, shards fails with
Building: ameba
Error target ameba failed to compile:
/usr/bin/ld: -lyaml kann nicht gefunden werden
collect2: Fehler: ld gab 1 als Ende-Status zurück
Error: execution of command failed with code: 1: `cc "${@}" -o '/home/yala/src/crystallabs/fluence/lib/ameba/bin/ameba' -rdynamic -lyaml -lpcre -lm -lgc -lpthread /usr/share/crystal/src/ext/libcrystal.a -levent -lrt -ldl -L/usr/lib -L/usr/local/lib`
make: *** [Makefile:8: bin/ameba] Fehler 1
This can be circumvented by installing luarocks for your system, and then installing lyaml, i.e. for Fedora 28:
dnf install luarocks libyaml-devel
luarocks --server=http://rocks.moonscript.org install lyaml
Then shards will complete as expected.
Thank you for this beautiful, simple wiki.
Hey @almereyda , wonderful, love to hear you like it :)
Yeah, for libyaml, there are a couple C libraries which need to exist on the system, such as libgc, libxml2 and libyaml.
We thought of maybe mentioning this in the install steps, but the thing is that different Linux distributions may or may not install these by default, or these packages may already be installed due to some other packages which the user needed.
So for now we've decided not to mention this part at all. I will see if there exists a simple way in which this note can be included in the README.
Thanks!