There are no binaries, but one can compile it manually
It is true that there are no official binaries available, but one can compile it manually. There are a few tweaks that need to be done to the code in order for compiler to suceed:
- Install xcode command line tools:
- Install brew.
- Install build dependencies:
brew install automake libtool boost miniupnpc openssl pkg-config protobuf python qt libevent qrencode
- Install BerkleyDB (find the version of the BerkleyDB in the output and remember it for the build step - was “18.1.32_1” in my case):
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/master/Formula/berkeley-db.rb
- Get Bitcoin SV source (by checking out git repository, downloading tarball, …).
- Add missing headers (as of Oct 24th 2019, supposed to be fixed in 0.2.2, but the code has not been made public yet):
diff --git a/src/init.cpp b/src/init.cpp
index 6dc8b6132..c1ad51e0f 100644
@@ -21,6 +21,7 @@
diff --git a/src/rpc/misc.cpp b/src/rpc/misc.cpp
index 615fb38b2..387fd7187 100644
@@ -18,14 +18,15 @@
- Bump C++ standard for the bundled univalue library (See pull request.)
- Build the software (replace “18.1.32_1” with the version of BerkleyDB) by running the following in the root folder of the source:
./configure --without-gui LDFLAGS="-L/usr/local/Cellar/berkeley-db/18.1.32_1/lib" CPPFLAGS="-I/usr/local/Cellar/berkeley-db/18.1.32_1/include"
- Assuming that the compilation completed without errors you will be able to find binaries in
- Now you can use
make check to run the test suite and
make deploy to install the software.