Ubuntu 17 Compilation Btcoin

Source: Internet
Author: User

I. Installing the development environment

sudoapt-Get updatesudoApt-getInstallBuild-essential Libtool Autotools-dev autoconfPkg-configlibssl-DevsudoApt-getInstalllibboost-all-DevsudoApt-getInstallLibqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compilersudoApt-getInstalllibqrencode-DevsudoApt-getInstalllibminiupnpc-DevsudoApt-getInstallGit

Two. Download the source code

mkdir btcoingit clone https: // Github.com/bitcoin/bitcoin.git

Three. Compiling

./autogen. SH . /Configuremake doinstall # Optional

Four. Questions

1. Configure step tip error:libevent not found.

sudo Install Libevent-dev

2. Configure step hint Error:found Berkeley DB other than 4.8, required for portable wallets (--with-incompatible-bdb to ignore or--disable-wallet to disable wallet functionality)

wget http://download.oracle.com/berkeley-db/db-4.8.30.nc.tar.gzcd db-4.8. . nc/CD Build_unix/.. /dist/configure--enable-cxx--disable-shared--with-pic--prefix=/usr/localsudo make Install

The online tutorial is very messy, specifically encountered problems, you can refer to the doc file directory inside the BUILD-XX documentation, very detailed.

Ubuntu 17 Compilation Btcoin

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.