Skip to content

Latest commit

 

History

History
85 lines (44 loc) · 1.59 KB

build-freebsd.md

File metadata and controls

85 lines (44 loc) · 1.59 KB

Build instructions for Ravencoin

FreeBSD 13.0

This will install most of the dependencies from FreeBSD pkg.

The only one we build, is Berkeley DB 4.8.

Install dependencies:

# pkg install autoconf automake boost-libs git gmake libevent libtool pkgconf openssl

Optional dependencies

Qt5 for GUI

# pkg install qt5

libqrencode for QR Code support.

# pkg install libqrencode

Directory structure

Ravencoin sources in $HOME/src

Berkeley DB will be installed to $HOME/src/db4

Ravencoin

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.