-
Notifications
You must be signed in to change notification settings - Fork 1
/
BTXcompileDebian.sh
42 lines (34 loc) · 1.35 KB
/
BTXcompileDebian.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# how (and why) to compile `bitcore-qt` on Debian stretch
#
# @author: Andreas Krueger
# @see: https://github.com/drandreaskrueger/airdrops
# @contact: https://bitcointalk.org/index.php?action=profile;u=860710
# @since: Created on 19 Oct 2017
# @version: v0.1.0
#
# @license: MIT license + donationware:
# BTC 13EFsVvaFa61BKUZAd5Me8XZFZNpeV3L5M
# BTX 1JBFG6W71NzKZgDmqM7kcHUjqghcRxjQ5n
# Thank you.
'''
# folder & download & unpack
mkdir BitCore; cd BitCore
wget https://github.com/LIMXTEC/BitCore/releases/download/0.14.1.6/Linux-0-14-1-6.tar.gz
tar xzvf Linux-0-14-1-6.tar.gz
rm Linux-0-14-1-6.tar.gz
# now you try the binaries in `./bin`. but in my case, sadly, I get an error
# (libboost_system.so.1.58.0: cannot open shared object file)
# so let's compile it ourselves:
unzip source/BitCore-master\(1\).zip
rm source/BitCore-master\(1\).zip
cd BitCore-master
sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev libboost-all-dev
sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler
sudo apt install libdb5.3++ libdb5.3++-dev libevent-dev
./autogen.sh
./configure --with-incompatible-bdb
make
sudo make install
bitcore-qt --version
bitcore-qt --help
bitcore-qt