Skip to content

Compilation Guide

Gandalf86 edited this page Jul 30, 2018 · 15 revisions

Note: Please don't try to install third-party libraries on your Linux system manually. You should always use the package manager if possible. The following instructions will show you how to build Spectrecoin on your Linux system using packages from your package manager.

Dependencies

Debian 9 "Stretch", Ubuntu 18.04 LTS, Linux Mint 19

Note: The wallet currently crashes on Debian due to bug #33. Ubuntu and Mint work.

For GUI and headless, as root:

  • apt-get install --no-install-recommends git autoconf automake libtool pkg-config g++ lib{ssl,event,z,boost{,-{system,chrono,filesystem,program-options,thread,iostreams}},cap,seccomp}-dev make

For GUI (additionally), as root:

  • apt-get install --no-install-recommends qtbase5-dev libqt5webchannel5-dev qtwebengine5-dev qttools5-dev-tools qt5-default

Building

Setup

For GUI and headless, as user:

mkdir ~/build
cd ~/build
git clone https://github.com/spectrecoin/spectre spectrecoin
cd spectrecoin
./autogen.sh

Configure

For headless, as user:

  • ./configure

For GUI, as user:

  • ./configure --enable-gui

Make

For GUI and headless, as user:

  • make

Install

For headless, as root:

  • cp src/spectrecoind /usr/local/bin/

For GUI, as root:

  • cp src/spectre /usr/local/bin/spectrecoin

Clone this wiki locally