Skip to content

Commit b5d1b10

Browse files
committed
doc: add libgmp dependency for secp256k1
Also reorganize the document a bit.
1 parent b7fe9cd commit b5d1b10

File tree

1 file changed

+24
-19
lines changed

1 file changed

+24
-19
lines changed

doc/build-unix.md

Lines changed: 24 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -27,31 +27,25 @@ This will build bitcoin-qt as well if the dependencies are met.
2727
Dependencies
2828
---------------------
2929

30+
These dependencies are required:
31+
3032
Library | Purpose | Description
3133
------------|------------------|----------------------
3234
libssl | SSL Support | Secure communications
33-
libdb4.8 | Berkeley DB | Wallet storage
3435
libboost | Boost | C++ Library
35-
miniupnpc | UPnP Support | Optional firewall-jumping support
36-
qt | GUI | GUI toolkit
37-
protobuf | Payments in GUI | Data interchange format used for payment protocol
38-
libqrencode | QR codes in GUI | Optional for generating QR codes
39-
40-
[miniupnpc](http://miniupnp.free.fr/) may be used for UPnP port mapping. It can be downloaded from [here](
41-
http://miniupnp.tuxfamily.org/files/). UPnP support is compiled in and
42-
turned off by default. See the configure options for upnp behavior desired:
36+
libgmp | secp256k1 | Arbitrary-precision arithmetic (version >= 3.1)
4337

44-
--without-miniupnpc No UPnP support miniupnp not required
45-
--disable-upnp-default (the default) UPnP support turned off by default at runtime
46-
--enable-upnp-default UPnP support turned on by default at runtime
38+
Optional dependencies:
4739

48-
Licenses of statically linked libraries:
49-
Berkeley DB New BSD license with additional requirement that linked
50-
software must be free open source
51-
Boost MIT-like license
52-
miniupnpc New (3-clause) BSD license
40+
Library | Purpose | Description
41+
------------|------------------|----------------------
42+
miniupnpc | UPnP Support | Firewall-jumping support
43+
libdb4.8 | Berkeley DB | Wallet storage (only needed when wallet enabled)
44+
qt | GUI | GUI toolkit (only needed when GUI enabled)
45+
protobuf | Payments in GUI | Data interchange format used for payment protocol (only needed when GUI enabled)
46+
libqrencode | QR codes in GUI | Optional for generating QR codes (only needed when GUI enabled)
5347

54-
- For the versions used in the release, see doc/release-process.md under *Fetch and build inputs*.
48+
For the versions used in the release, see [release-process.md](release-process.md) under *Fetch and build inputs*.
5549

5650
System requirements
5751
--------------------
@@ -64,7 +58,7 @@ Dependency Build Instructions: Ubuntu & Debian
6458
----------------------------------------------
6559
Build requirements:
6660

67-
sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev
61+
sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev libgmp-dev
6862

6963
for Ubuntu 12.04 and later or Debian 7 and later libboost-all-dev has to be installed:
7064

@@ -129,6 +123,17 @@ symbols, which reduces the executable size by about 90%.
129123

130124
miniupnpc
131125
---------
126+
127+
[miniupnpc](http://miniupnp.free.fr/) may be used for UPnP port mapping. It can be downloaded from [here](
128+
http://miniupnp.tuxfamily.org/files/). UPnP support is compiled in and
129+
turned off by default. See the configure options for upnp behavior desired:
130+
131+
--without-miniupnpc No UPnP support miniupnp not required
132+
--disable-upnp-default (the default) UPnP support turned off by default at runtime
133+
--enable-upnp-default UPnP support turned on by default at runtime
134+
135+
To build:
136+
132137
tar -xzvf miniupnpc-1.6.tar.gz
133138
cd miniupnpc-1.6
134139
make

0 commit comments

Comments
 (0)