-
Notifications
You must be signed in to change notification settings - Fork 0
Build Fedora
HLXEasy edited this page Apr 10, 2020
·
7 revisions
In the following a short description how to build spectrecoin and spectrecoind on Fedora.
Update package lists
dnf update -y
Install build time dependencies:
dnf install -y \
autoconf \
automake \
boost-devel \
gcc-c++ \
git \
less \
libcap-devel \
libevent-devel \
libseccomp-devel \
libtool \
libzstd-devel \
make \
mc \
openssh-clients \
openssl-devel \
patch \
pkg-config \
qt5 \
qt5-devel \
qt5-qtbase-devel \
qt5-qtdeclarative-devel \
qt5-qtnetworkauth-devel \
qt5-qtquickcontrols \
qt5-qtwebchannel-devel \
qt5-qtwebengine-devel \
qt5-qtwebsockets-devel \
qt5-qtwebview-devel \
wget
The package mc (Midnight Commander) is there just for convenience. ;-)
See up2date list of build time dependencies on corresponding Dockerfile, which is used to build Spectrecoin on our Continuous Integration system.
To build Spectrecoin you need to do the same steps as we do using Docker. The latest version can be found here.
- Clone the Git repository and cd into the directory
» git clone https://github.com/spectrecoin/spectre.git » cd spectre - Perform the build
» patch < Docker/Fedora/QT5BinaryPath.patch » ./autogen.sh » ./configure --enable-gui --with-qt5=/usr/include/qt5 » make
The two binaries spectre (UI) and spectrecoind (daemon) can be found in the directory src afterwards.
To install them, just do this:
cp src/spectre /usr/local/bin/spectrecoin
cp src/spectrecoind /usr/local/bin/spectrecoind
Now you can use them right from the cmdline.