|
| 1 | +Dependencies |
| 2 | +============ |
| 3 | + |
| 4 | +These are the dependencies currently used by PIVX Core. You can find instructions for installing them in the `build-*.md` file for your platform. |
| 5 | + |
| 6 | +| Dependency | Version used | Minimum required | CVEs | Shared | [Bundled Qt library](https://doc.qt.io/qt-5/configure-options.html#third-party-libraries) | |
| 7 | +| --- | --- | --- | --- | --- | --- | |
| 8 | +| Berkeley DB | [4.8.30](https://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html) | 4.8.x | No | | | |
| 9 | +| Boost | [1.64.0](https://www.boost.org/users/download/) | [1.47.0](https://github.com/bitcoin/bitcoin/pull/8920) | No | | | |
| 10 | +| Clang | | [3.3+](https://llvm.org/releases/download.html) (C++11 support) | | | | |
| 11 | +| D-Bus | [1.10.18](https://cgit.freedesktop.org/dbus/dbus/tree/NEWS?h=dbus-1.10) | | No | Yes | | |
| 12 | +| Expat | [2.2.6](https://libexpat.github.io/) | | No | Yes | | |
| 13 | +| fontconfig | [2.12.1](https://www.freedesktop.org/software/fontconfig/release/) | | No | Yes | | |
| 14 | +| FreeType | [2.7.1](https://download.savannah.gnu.org/releases/freetype) | | No | | | |
| 15 | +| GCC | | [4.8+](https://gcc.gnu.org/) (C++11 support) | | | | |
| 16 | +| HarfBuzz-NG | | | | | | |
| 17 | +| libevent | [2.1.8-stable](https://github.com/libevent/libevent/releases) | 2.0.22 | No | | | |
| 18 | +| libjpeg | | | | | [Yes](https://github.com/pivx-project/pivx/blob/master/depends/packages/qt.mk#L65) | |
| 19 | +| libpng | | | | | [Yes](https://github.com/pivx-project/pivx/blob/master/depends/packages/qt.mk#L64) | |
| 20 | +| librsvg | | | | | | |
| 21 | +| MiniUPnPc | [2.0.20180203](http://miniupnp.free.fr/files) | | No | | | |
| 22 | +| OpenSSL | [1.0.1k](https://www.openssl.org/source) | | Yes | | | |
| 23 | +| GMP | [6.1.2](https://gmplib.org/) | | No | | | |
| 24 | +| PCRE | | | | | [Yes](https://github.com/pivx-project/pivx/blob/master/depends/packages/qt.mk#L66) | |
| 25 | +| protobuf | [2.6.1](https://github.com/google/protobuf/releases) | | No | | | |
| 26 | +| Python (tests) | | [3.5](https://www.python.org/downloads) | | | | |
| 27 | +| qrencode | [3.4.4](https://fukuchi.org/works/qrencode) | | No | | | |
| 28 | +| Qt | [5.9.7](https://download.qt.io/official_releases/qt/) | [5.5.1](https://github.com/bitcoin/bitcoin/issues/13478) | No | | | |
| 29 | +| XCB | | | | | [Yes](https://github.com/pivx-project/pivx/blob/master/depends/packages/qt.mk#L87) (Linux only) | |
| 30 | +| xkbcommon | | | | | [Yes](https://github.com/pivx-project/pivx/blob/master/depends/packages/qt.mk#L86) (Linux only) | |
| 31 | +| ZeroMQ | [4.3.1](https://github.com/zeromq/libzmq/releases) | 4.0.0 | No | | | |
| 32 | +| zlib | [1.2.11](https://zlib.net/) | | | | No | |
| 33 | + |
| 34 | +Controlling dependencies |
| 35 | +------------------------ |
| 36 | +Some dependencies are not needed in all configurations. The following are some factors that affect the dependency list. |
| 37 | + |
| 38 | +#### Options passed to `./configure` |
| 39 | +* MiniUPnPc is not needed with `--with-miniupnpc=no`. |
| 40 | +* Berkeley DB is not needed with `--disable-wallet`. |
| 41 | +* Qt is not needed with `--without-gui`. |
| 42 | +* If the qrencode dependency is absent, QR support won't be added. To force an error when that happens, pass `--with-qrencode`. |
| 43 | +* ZeroMQ is needed only with the `--with-zmq` option. |
| 44 | + |
| 45 | +#### Other |
| 46 | +* librsvg is only needed if you need to run `make deploy` on (cross-compilation to) macOS. |
0 commit comments