-
-
Save satindergrewal/fa9744d7d7624ae783f2ce2d92f79076 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get update | |
apt-get upgrade | |
apt-get -y install git | |
apt-get -y install build-essential libtool autotools-dev autoconf pkg-config libssl-dev | |
apt-get -y install libboost-all-dev | |
apt-get -y install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler | |
apt-get -y install libqrencode-dev | |
apt-get -y install libminiupnpc-dev | |
apt-get -y install libevent-dev | |
cd ~ | |
git clone https://github.com/bitcoin/bitcoin.git | |
cd ~ | |
mkdir bitcoin/db4/ | |
wget 'http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz' | |
tar -xzvf db-4.8.30.NC.tar.gz | |
cd db-4.8.30.NC/build_unix/ | |
db4dir=$(readlink -e ~/bitcoin/db4) | |
../dist/configure --enable-cxx --disable-shared --with-pic --prefix=$db4dir | |
make install | |
cd ~/bitcoin/ | |
./autogen.sh | |
./configure BDB_LIBS="-L$db4dir/lib -ldb_cxx" BDB_CFLAGS="-I$db4dir/include" | |
make -s -j |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment