Closed decanus closed 4 years ago
Prerequisites in instructions out of date, need to be the same as here: https://github.com/status-im/nimbus#building--testing
And that will not even be enough, next to rocksdb, the test suite also needs lmdb and sqlite as we test for those 3 storage backends... See https://github.com/status-im/nim-eth/blob/master/tests/trie/test_storage_backends.nim#L61 Or see also what gets installed for https://github.com/status-im/nim-eth/blob/master/.appveyor.yml
we could also drop some of the backends - ie we removed lmdb from nbc
because it's bad on 32-bit and sqlite is now part of the build there so no dep required.. it almost makes sense to intro the build system here also, if only for the tests - but that'll make it tricky to include in repos that are already using the build system...
the backends in here are unmaintained and buggy anyway - it's not like it's extremely valuable code - I'd perhaps put a comment in one of the "common interface" files that they existed before with a link to the PR that removed them, so they're not forgotten.
ping @stefantalpalaru for thoughts on how to do the build system / vendor for libraries?
I've updated the readme for now.
@jangko cc regarding backends as he uses one of them for testing I believe?
@decanus @arnetheduck @kdeme on ubuntu 19.10 I got past this with installing the following libraries:
apt install -y librocksdb-dev liblmdb-dev sqlite3
Thanks @corpetty, added to readme. Closing this.
I ran the scripts as stated in the readme:
when running the tests I get the following error, any suggestions?