-
Notifications
You must be signed in to change notification settings - Fork 251
/
INSTALL
58 lines (37 loc) · 1.56 KB
/
INSTALL
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Building twister
***************************************************************
*** THIS IS ALPHA SOFTWARE - THE BUILD SYSTEM IS UNFINISHED ***
***************************************************************
This software is a proof-of-concept, a forced marriage between
bitcoin and libtorrent codebases. So don't expect an easy ride.
Building this thing is quite hacky (but hopefully not complicated).
1) Twister relies on a bundled custom version of libtorrent, so
first you need to build that:
$ cd libtorrent
$ ./bootstrap.sh
$ ./configure --enable-logging --enable-debug --enable-dht
$ make
Note1: 64-bit systems may need eg. "--with-boost-libdir=/usr/lib64"
or "--with-boost-libdir=/usr/lib/x86_64-linux-gnu/"
Note2: disable logging if you want, but at this point it might
help to diagnose problems in case anything goes wrong.
2) Then, for bitcoin/twister, you have actually two choices to
build. Both will produce (almost) the same "twisterd" executable,
so try which one works for you.
2a) Using qmake
$ qmake
$ make
2b) Using standard makefile
$ cd src
$ make -f makefile.unix
DEPENDENCIES
============
OpenSSL, Berkeley DB, Boost and miniupnpc are required.
Please read doc/build-unix.md for a complete list and instructions.
Original bitcoin build instruction
==================================
See doc/readme-qt.md for instructions on building Bitcoin-Qt.
(note: the graphic interface is disabled)
See doc/build-*.md for instructions on building bitcoind,
the intended-for-services, no-graphical-interface, reference
implementation of Bitcoin.