changeset 6001:23057179017f

docs: add information about extra dependencies we now need We have always needed some development packages, but never said that explicitly. Now that bcrypt also requires libffi-dev, we should mention that.
author Andrew Shadura <andrew@shadura.me>
date Tue, 12 Jul 2016 23:31:02 +0200
parents 023d9202481e
children 855ba1f07aeb
files docs/installation.rst
diffstat 1 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/docs/installation.rst	Sun Jul 03 12:21:00 2016 +0200
+++ b/docs/installation.rst	Tue Jul 12 23:31:02 2016 +0200
@@ -26,6 +26,22 @@
   have to remove its dependencies manually and make sure that they are not
   needed by other packages.
 
+Regardless of the installation method you may need to make sure you have
+appropriate development packages installed, as installation of some of the
+Kallithea dependencies requires a working C compiler and libffi library
+headers. Depending on your configuration, you may also need to install
+Git and development packages for the database of your choice.
+
+For Debian and Ubuntu, the following command will ensure that a reasonable
+set of dependencies is installed::
+
+    sudo apt-get install build-essential git python-pip python-virtualenv libffi-dev python-dev
+
+For Fedora and RHEL-derivatives, the following command will ensure that a
+reasonable set of dependencies is installed::
+
+    sudo yum install gcc git python-pip python-virtualenv libffi-devel python-devel
+
 .. _installation-source: