From: Marek VavruĊĦa Date: Wed, 28 Oct 2015 16:08:33 +0000 (+0100) Subject: doc: added known packaged dependencies (incomplete) X-Git-Tag: v1.0.0-beta2~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57ea7b8a197f56fb51d2c0265e18ffde8ebb01b9;p=thirdparty%2Fknot-resolver.git doc: added known packaged dependencies (incomplete) --- diff --git a/doc/build.rst b/doc/build.rst index a2b02c316..13e4d4a28 100644 --- a/doc/build.rst +++ b/doc/build.rst @@ -52,6 +52,30 @@ There are also *optional* packages that enable specific functionality in Knot DN .. [#] You can use variables ``_CFLAGS`` and ``_LIBS`` to configure dependencies manually (i.e. ``libknot_CFLAGS`` and ``libknot_LIBS``). .. [#] libuv 1.7 brings SO_REUSEPORT support that is needed for multiple forks. libuv < 1.7 can be still used, but only in single-process mode. Use :ref:`different method ` for load balancing. +Packaged dependencies +~~~~~~~~~~~~~~~~~~~~~ + +Most of the dependencies can be resolved from packages, here's an overview for several platforms. + +* **Debian** (since *sid*) - current stable doesn't have libknot and libuv, which must be installed from sources. + +.. code-block:: bash + + sudo apt-get install pkg-config libknot-dev libuv1-dev libcmocka-dev libluajit-5.1-dev + +* **Ubuntu** - unknown. +* **RHEL/CentOS** - unknown. +* **openSUSE** - there is an `experimental package `_. +* **RHEL** - unknown. +* **FreeBSD** - unknown. +* **NetBSD** - unknown. +* **OpenBSD** - unknown. +* **Mac OS X** - most of the dependencies can be found through `Homebrew `_, with the exception of libknot. + +.. code-block:: bash + + brew install pkg-config libuv luajit cmocka + Getting Docker image --------------------