Feathercoin daemon and wallet production version 0.19.1
Old daemon and wallet version 0.18.3

Build Feathercoin 0.9.6 on LinuxMint

  • Moderators | Tip AcidD

    The following guide has been tested on:

    • Ubtunu 16.04
    • Ubuntu 14.04
    • LinuxMint 17.3

    Feathercoin 0.9.6 - Build Instructions

    First we start by updating our OS a little… I used a VMware images from OsBoxes.org

    sudo apt-get update
    sudo apt-get upgrade 
    [email protected] ~ $ pwd
    mkdir FeathercoinBuild && cd FeathercoinBuild

    Dependencies …some of these you might already have installed, but I recommend running each line.

    sudo apt-get install build-essential
    sudo apt-get install libboost-all-dev
    sudo apt-get install automake
    sudo apt-get install libtool
    sudo apt-get install autoconf
    sudo apt-get install libdb5.3++-dev
    sudo apt-get install libdb++-dev
    sudo apt-get install libprotobuf-dev
    sudo apt-get install protobuf-compiler
    sudo apt-get install libqrencode-dev
    sudo apt-get install qtbase5-dev
    sudo apt-get install libqt5opengl5-dev
    sudo apt-get install qttools5-dev-tools
    sudo apt-get install libminiupnpc-dev
    sudo apt-get install pkg-config

    Build Berkeley DB v4.8 (I use this version since it’s the most popular)

    pwd should show /home/$username/FeathercoinBuild

    wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
    tar -xvf db-4.8.30.NC.tar.gz
    cd db-4.8.30.NC/build_unix
    mkdir -p build
    ../dist/configure -disable-shared -enable-cxx -with-pic -prefix=$BDB_PREFIX
    make install
    cd ../..

    Build OpenSSL

    pwd should show /home/$username/FeathercoinBuild

    mkdir openSSL && cd openSSL
    wget https://www.openssl.org/source/openssl-1.0.1l.tar.gz
    tar zxvf openssl-1.0.1l.tar.gz
    cd openssl-1.0.1l
    export CFLAGS="-fPIC"
    ./config --prefix=/home/acid/FeathercoinBuild/openSSL/build shared enable-ec enable-ecdh enable-ecdsa -lanl -ldl
    sudo make
    sudo make install
    cd ../..

    Build ZXING

    pwd should show /home/$username/FeathercoinBuild

    sudo apt-get install cmake 
    mkdir zxing && cd zxing 
    git clone https://github.com/glassechidna/zxing-cpp.git && cd zxing-cpp
    mkdir build && cd build/
    export CXXFLAGS="-fPIC"
    make && sudo make install
    cd ../../..

    Edit a bug in zxing

    sudo vi /usr/local/include/zxing/LuminanceSource.h

    Edit line 30 from “private:” to “public:” and save

    GIT was not installed by default soo…

    sudo apt-get install git

    Grab the FTC source

    pwd should show /home/$username/FeathercoinBuild

    git clone https://github.com/FeatherCoin/Feathercoin.git FTC096 && cd FTC096

    Note: see where I’ve used the BDB_PREFIX which in the ftc configure command which is the same prefix we used when we compiled berkeleyDB earlier

    ./configure --prefix=/home/acid/FeathercoinBuild/FTCbuild CPPFLAGS="-I${BDB_PREFIX}/include/ -O2" LDFLAGS="-L${BDB_PREFIX}/lib/" PKG_CONFIG_PATH=/home/acid/FeathercoinBuild/openSSL/build/lib/pkgconfig LIBS=-Wl,-rpath=/home/acid/FeathercoinBuild/openSSL/build/lib SSL_LIBS="/home/acid/FeathercoinBuild/openSSL/build/lib/libssl.a /home/acid/FeathercoinBuild/openSSL/build/lib/libcrypto.a -ldl" --with-gui
    make -j 2
    make install

    You can run Feathercoin-QT like this

    cd /home/acid/FeathercoinBuild/FTCbuild/bin
    Note: This will produce test_bitcoin files even though the code and tests are for Feathercoin, this was fixed in which I think will be the next release.
    [email protected] ~/FeathercoinBuild/FTCbuild/bin $ ls -lrth
    total 398M
    -rwxr-xr-x 1 acid acid  77M May 31 19:34 feathercoind
    -rwxr-xr-x 1 acid acid  17M May 31 19:34 feathercoin-cli
    -rwxr-xr-x 1 acid acid 123M May 31 19:34 feathercoin-qt
    -rwxr-xr-x 1 acid acid  79M May 31 19:34 test_bitcoin-qt
    -rwxr-xr-x 1 acid acid 104M May 31 19:34 test_bitcoin
    [email protected] ~/FeathercoinBuild/FTCbuild/bin $

    I hope this helps someone. 🙂

  • Regular Member | Tip AmDD

    Nice work, as always!

  • Moderators | Tip AcidD

    Ha! Thanks,

    The history behind this…There’s a user on the BitcoinTalk forums that was having a hard time building on their own and couldn’t get the PPA since ubuntu 14.04 isn’t supported, which is what LinuxMint 17.3 is based off…which is what they were using.

    This is just a tidier version of the guide I wrote, that guide needed updating anyways, but I didn’t want to edit an old thread… 🙂

    also #Proof - LinuxMint 17.3
    alt text

  • Moderators | Tip Wellenreiter

    @aciddude said in Build Feathercoin 0.9.6 on LinuxMint & Ubuntu:

    This is just a tidier version of the guide I wrote, that guide needed updating anyways, but I didn’t want to edit an old thread…

    I’d say we should update the older versions and add one post telling 'updated post XXX at <DATE> ; reason: <REASON>

    That way we have just one thread with the howto and at the same time a change lock.

  • Moderators | Tip wrapper

    Very nice guide, thanks.

  • Moderators | Tip AcidD

    @Wellenreiter - Ok No problem. We can keep this guide as is and edit it moving forward.

    I take all of that back and bow to your wisdom 🙇🏼 … I was having a think and when I checked my old guide there was already a change log there…so I’ve updated that and re-pinned it.

    I’ve also renamed this guide and unpinned.

    Real guide here: