This will install most of the dependencies from FreeBSD pkg.
The only one we build, is Berkeley DB 4.8.
# pkg install autoconf automake boost-libs git gmake libevent libtool pkgconf openssl
Qt5 for GUI
# pkg install qt5
libqrencode for QR Code support.
# pkg install libqrencode
Ravencoin sources in $HOME/src
Berkeley DB will be installed to $HOME/src/db4
Start in $HOME
Make the directory for sources and go into it.
mkdir src
cd src
Download Ravencoin source.
git clone https://github.com/RavenProject/Ravencoin
cd Ravencoin
git checkout develop
# this checks out the develop branch.
Download and build Berkeley DB 4.8
contrib/install_db4.sh ../
The build process:
./autogen.sh
This is for sh
or bash
.
export BDB_PREFIX=$HOME/src/db4
./configure BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" BDB_CFLAGS="-I${BDB_PREFIX}/include" CFLAGS="-fPIC" CXXFLAGS="-fPIC -I/usr/local/include" --prefix=/usr/local MAKE=gmake
Adjust to own needs. --prefix=/usr/local
will install the binaries to /usr/local/bin
gmake -j8
# 8 for 8 build threads, adjust to fit your setup.
You can now start raven-qt from the build directory.
src/qt/raven-qt
ravend and raven-cli are in src/
Optional:
make install
# if you want to install the binaries to /usr/local/bin.