mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 02:25:40 +01:00
b853746d4a
55e05a82cd
Added some factors that affect the dependency list (Martin Erlandsson)
Pull request description:
To simplify build instructions, the librsvg formula should be moved to the main `brew install ...` command, in my opinion.
It is not a big problem to install a single extra formula, and it will only be unused for some users.
An additional reason for this change is that I would like to add a comment (in a future PR) about making sure you have the latest version of all deps (in the case of preexisting formulae). That comment can be authored more clearly if this simplification PR is merged.
Tree-SHA512: e63284a4e0584f071a920f6b8ac46694de38e7b1df1e0dc2b00262c1487a2f2851fae721e8f4907a4aad0335f287e881974df6f9d05fe9b26f0ba71033dce145
3.1 KiB
3.1 KiB
Dependencies
These are the dependencies currently used by Bitcoin Core. You can find instructions for installing them in the build-*.md
file for your platform.
Dependency | Version used | Minimum required | CVEs | Shared | Bundled Qt library |
---|---|---|---|---|---|
Berkeley DB | 4.8.30 | 4.8.x | No | ||
Boost | 1.64.0 | 1.47.0 | No | ||
Clang | 3.3+ (C++11 support) | ||||
D-Bus | 1.10.18 | No | Yes | ||
Expat | 2.2.6 | No | Yes | ||
fontconfig | 2.12.1 | No | Yes | ||
FreeType | 2.7.1 | No | |||
GCC | 4.8+ (C++11 support) | ||||
HarfBuzz-NG | |||||
libevent | 2.1.8-stable | 2.0.22 | No | ||
libjpeg | Yes | ||||
libpng | Yes | ||||
libsrvg | |||||
MiniUPnPc | 2.0.20180203 | No | |||
OpenSSL | 1.0.1k | Yes | |||
PCRE | Yes | ||||
protobuf | 2.6.1 | No | |||
Python (tests) | 3.4 | ||||
qrencode | 3.4.4 | No | |||
Qt | 5.9.7 | 5.5.1 | No | ||
XCB | Yes (Linux only) | ||||
xkbcommon | Yes (Linux only) | ||||
ZeroMQ | 4.3.1 | 4.0.0 | No | ||
zlib | 1.2.11 | No |
Controlling dependencies
Some dependencies are not needed in all configurations. The following are some factors that affect the dependency list.
Options passed to ./configure
- MiniUPnPc is not needed with
--with-miniupnpc=no
. - Berkeley DB is not needed with
--disable-wallet
. - protobuf is not needed with
--disable-bip70
. - Qt is not needed with
--without-gui
. - If the qrencode dependency is absent, QR support won't be added. To force an error when that happens, pass
--with-qrencode
. - ZeroMQ is needed only with the
--with-zmq
option.
Other
- librsvg is only needed if you need to run
make deploy
on (cross-compliation to) macOS.