Last active
July 30, 2016 19:06
-
-
Save eduffield222/fdc3672d3d98bb588528f49d9b5c3a1a to your computer and use it in GitHub Desktop.
Ubuntu Dash Compiling
This file contains hidden or 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
Assuming the username of the Ubuntu user is "evan". | |
Preparation | |
----------- | |
``` | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev | |
sudo apt-get install libboost-all-dev | |
sudo apt-get install libqt5gui5 libqt5core5 libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler | |
sudo apt-get install libqrencode-dev | |
sudo apt-get install libminiupnpc-dev | |
``` | |
Download dash source code | |
---------------------------- | |
``` | |
cd ~ | |
git clone https://github.com/dashpay/dash.git | |
``` | |
Download and compile Berkley DB 4.8 | |
----------------------------------- | |
``` | |
cd ~ | |
mkdir 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/ | |
../dist/configure --enable-cxx --disable-shared --with-pic --prefix=/home/ubuntu/db4/ | |
make install | |
``` | |
Compile dash with Berkley DB 4.8 | |
----------------------------------- | |
``` | |
cd ~/dash/ | |
./autogen.sh | |
./configure LDFLAGS="-L/home/ubuntu/db4/lib/" CPPFLAGS="-I/home/ubuntu/db4/include/" | |
make -s -j5 | |
``` | |
Setup git caching | |
---------------------------- | |
``` | |
git config --global credential.helper cache | |
git config --global credential.helper 'cache --timeout=3600' | |
``` | |
Run dash Daemon/QT/Client | |
---------------------------- | |
``` | |
./src/dashd | |
./src/dash-qt | |
./src/dash-cli | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment