Building PeerPlays Node

Downloading the sources

The sources can be downloaded from:


Development Toolkit

The following dependencies were necessary for a clean install of Ubuntu 16.10:

sudo apt-get update
sudo apt-get install gcc-5 g++-5 gcc g++ cmake make \
                     libbz2-dev libdb++-dev libdb-dev \
                     libssl-dev openssl libreadline-dev \
                     autotools-dev build-essential \
                     g++ libbz2-dev libicu-dev python-dev \
                     autoconf libtool git

Boost 1.60

You need to download the Boost tarball for Boost 1.60.0.

export BOOST_ROOT=$HOME/opt/boost_1.60.0
wget -c ''\
     -O boost_1.60.0.tar.bz2
tar xjf boost_1.60.0.tar.bz2
cd boost_1.60.0/
./ "--prefix=$BOOST_ROOT"
./b2 install

Building PeerPlays

After downloading the PeerPlays sources we can run cmake for configuration and compile with make:

cd peerplays
export CC=gcc-5 CXX=g++-5

Note that the environmental variable $BOOST_ROOT should point to your install directory of boost if you have installed it manually (see first line in the previous example)


After compilation, the binaries are located in: