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

    [Guides] How to compile Feathercoin Core 0.11.1 on Linux

    Guides
    1
    4
    4789
    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.
    • lizhi
      lizhi last edited by

      Please read reference resources :
      https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md#dependency-build-instructions-ubuntu--debian
      https://github.com/bitcoin/bitcoin/issues/7204

      Step One install or upgrade lib
      add-apt-repository ppa:bitcoin/bitcoin
      apt-get update
      apt-get upgrade
      apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils
      apt-get install libboost-all-dev
      apt-get install libminiupnpc-dev

      If you use latest lib ,you need to install them manual.
      1)Berkeley DB 6.1.26
      tar xvfz db-6.1.26.NC.tar.gz
      cd db-6.1.26.NC/build_unix
      BITCOIN_ROOT=$(pwd)
      BDB_PREFIX=“${BITCOIN_ROOT}/db6”
      …/dist/configure --enable-cxx --disable-shared --with-pic --prefix=$BDB_PREFIX
      make
      make install

      2)Boost 1.58.0
      cp boost_1_58_0.tar.gz /usr/local
      cd /usr/local
      tar xvfz boost_1_58_0.tar.gz
      cd /usr/local/boost_1_58_0
      ./bootstrap.sh --with-libraries=thread,chrono,date_time,system,filesystem --prefix=/usr/
      ./b2 install

      http://bitzuma.com/posts/compile-bitcoin-core-from-source-on-ubuntu/
      https://m.reddit.com/r/myriadcoin/comments/3p3up3/compiling_on_ubuntu_1404_desktop/
      http://stackoverflow.com/questions/12578499/how-to-install-boost-on-ubuntu
      http://unix.stackexchange.com/questions/107237/how-to-uninstall-boost-1-49-and-install-boost-1-54-in-ubuntu

      Step Two compile Feathercoin core
      git clone -b 0.11.1 git://github.com/FeatherCoin/Feathercoin.git ftc0.11.1b
      cd ftc0.11.1b

      chmod 777 ./src/autogen.sh
      chmod 777 ./src/leveldb/build_detect_platform
      chmod 777 ./src/secp256k1/autogen.sh

      ./autogen.sh
      ./configure --disable-upnp-default --disable-tests --disable-hardening --with-gui=no --without-miniupnpc LDFLAGS=“-L${BDB_PREFIX}/lib/” CPPFLAGS=“-I${BDB_PREFIX}/include/”
      make

      1 Reply Last reply Reply Quote 1
      • lizhi
        lizhi last edited by

        Install Boost 1.58 or 1.60 by manual

        tar -xvzf boost_1_60_0.tar.gz
        cd boost_1_60_0/
        ./bootstrap.sh --with-libraries=atomic,regex,signals,test,timer,log,thread,chrono,date_time,system,filesystem --prefix=/usr/local
        ./b2 install

        1 Reply Last reply Reply Quote 0
        • lizhi
          lizhi last edited by

          Install Boost 1.55 on Ubuntu 12.04

          add-apt-repository ppa:boost-latest/ppa
          apt-get update
          apt-get upgrade
          apt-get install libboost1.55-all-dev

          http://askubuntu.com/questions/174095/how-to-upgrade-boost-lib-using-apt-get

          1 Reply Last reply Reply Quote 0
          • lizhi
            lizhi last edited by lizhi

            Install OpenSSL 1.0.2d by manual

            cd /usr/local/
            tar xvfz openssl-1.0.2d.tar.gz
            cd openssl-1.0.2d
            ./config no-zlib no-ssl2 no-ssl3 --prefix=/usr/local --openssldir=/usr/local/lib/ssl
            make
            make install

            ./configure --disable-upnp-default --disable-tests --disable-hardening --with-gui=no --without-miniupnpc --with-boost-libdir=/usr/local/lib LDFLAGS=“-L${BDB_PREFIX}/lib/” CPPFLAGS=“-I${BDB_PREFIX}/include/” --with-openssl-libdir=/root/openssl-1.0.2d
            make

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