From 7e669bcf6b6336ec429da949bcb4aa456971dba2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 30 Jul 2021 10:38:27 +0200 Subject: folding history in preparation of GNU Anastasis v0.0.0 release --- doc/sphinx/frags/installing-anastasis.rst | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 doc/sphinx/frags/installing-anastasis.rst (limited to 'doc/sphinx/frags/installing-anastasis.rst') diff --git a/doc/sphinx/frags/installing-anastasis.rst b/doc/sphinx/frags/installing-anastasis.rst new file mode 100644 index 0000000..7978b71 --- /dev/null +++ b/doc/sphinx/frags/installing-anastasis.rst @@ -0,0 +1,30 @@ +The following steps assume all dependencies are installed. + +First, unpack the Anastasis tarball and change into +the resulting directory. +Then, use the following commands to build and install Anastasis: + +.. code-block:: console + + $ ./configure [--prefix=PFX] \ + [--with-gnunet=GNUNETPFX] \ + [--with-exchange=EXCHANGEPFX] + $ # Each dependency can be fetched from non standard locations via + $ # the '--with-' option. See './configure --help'. + $ make + # make install + +If you did not specify a prefix, Anastasis will be installed to +``/usr/local``, which requires you to run the last step as ``root``. + +You have to specify ``--with-exchange=/usr/local`` and/or +``--with-gnunet=/usr/local`` if you installed the exchange and/or +GNUnet to ``/usr/local`` in the previous steps. + +Depending on the prefixes you specified for the installation and the +distribution you are using, you may have to edit ``/etc/ld.so.conf``, adding +lines for ``GNUNETPFX/lib/`` and ``EXCHANGEPFX/lib/`` and ``PFX/lib/`` +(replace the prefixes with the actual paths you used). Afterwards, you should +run ``ldconfig``. Without this step, it is possible that the linker may not +find the installed libraries and launching the Anastasis backend would +then fail. -- cgit v1.2.3