Forum Home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    Build Feathercoin 0.9.6 on LinuxMint

    Guides
    ubuntu 16.04 linux ubuntu 14.04 linuxmint 0.9.6
    4
    6
    6317
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • AcidD
      AcidD Moderators last edited by 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 
      
      pwd
      
      acid@osboxes ~ $ pwd
       /home/acid
      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
      BDB_PREFIX=$(pwd)/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"
      cmake -G "Unix Makefiles" -DCMAKE_CXX_FLAGS="-fPIC -D_GLIBCXX_USE_CXX11_ABI=1" -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=11 -DCMAKE_CXX_STANDARD_REQUIRED=ON ..
      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

      ./autogen.sh
      ./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
      ./feathercoin-qt
      
      Note: This will produce test_bitcoin files even though the code and tests are for Feathercoin, this was fixed in 0.9.6.1 which I think will be the next release.
      acid@osboxes ~/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
      acid@osboxes ~/FeathercoinBuild/FTCbuild/bin $
      
      

      I hope this helps someone. :-)

      • FTC Block Explorer + API @ https://fsight.chain.tips
      • FTC Beer Money: 6x4LEQV88zRnBvZoH6ZNK6SeRxx4KiTyJs
      • FTC bech32 address: fc1q4tclm3cv4v86ez6el76ewmharexfapxhek5a03
      • BTC bech32 address: bc1qk8umuccapuafspk9e5szahvp0detafuzugv4ay

      1 Reply Last reply Reply Quote 5
      • AmDD
        AmDD Regular Member last edited by

        Nice work, as always!

        P2Pool Node: http://104.236.34.9:19327/ 0.5% fee

        1 Reply Last reply Reply Quote 2
        • AcidD
          AcidD Moderators last edited by

          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 0.9.3.1 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

          • FTC Block Explorer + API @ https://fsight.chain.tips
          • FTC Beer Money: 6x4LEQV88zRnBvZoH6ZNK6SeRxx4KiTyJs
          • FTC bech32 address: fc1q4tclm3cv4v86ez6el76ewmharexfapxhek5a03
          • BTC bech32 address: bc1qk8umuccapuafspk9e5szahvp0detafuzugv4ay

          Wellenreiter 1 Reply Last reply Reply Quote 3
          • Wellenreiter
            Wellenreiter Moderators @AcidD last edited by

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

            This is just a tidier version of the 0.9.3.1 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.

            Feathercoin development donation address: 6p8u3wtct7uxRGmvWr2xvPxqRzbpbcd82A
            Openpgp key: 0x385C34E77F0D74D7 (at keyserver.ubuntu.com)/fingerprint: C7B4 E9EA 17E1 3D12 07AB 1FDB 385C 34E7 7F0D 74D7

            1 Reply Last reply Reply Quote 3
            • wrapper
              wrapper Moderators last edited by

              Very nice guide, thanks.

              1 Reply Last reply Reply Quote 0
              • AcidD
                AcidD Moderators last edited by 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 :bow_tone2: … 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:
                http://forum.feathercoin.com/topic/8556/guide-build-feathercoind-feathercoin-qt-v0-9-6-on-ubuntu/17

                • FTC Block Explorer + API @ https://fsight.chain.tips
                • FTC Beer Money: 6x4LEQV88zRnBvZoH6ZNK6SeRxx4KiTyJs
                • FTC bech32 address: fc1q4tclm3cv4v86ez6el76ewmharexfapxhek5a03
                • BTC bech32 address: bc1qk8umuccapuafspk9e5szahvp0detafuzugv4ay

                1 Reply Last reply Reply Quote 2
                • First post
                  Last post