summaryrefslogtreecommitdiff
path: root/frags/installing-gnunet-gtk.rst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-06-24 14:40:56 +0200
committerChristian Grothoff <christian@grothoff.org>2021-06-24 14:40:56 +0200
commit80b4f8ab8671c84e8214c676c449fc14d5e12ad7 (patch)
tree2a021ae8f03970e0c3730b1a23563bc259e0098c /frags/installing-gnunet-gtk.rst
parent7ec40ddae6314f709147ce1da9c74d7d6cbd9cb0 (diff)
downloaddocs-80b4f8ab8671c84e8214c676c449fc14d5e12ad7.tar.gz
docs-80b4f8ab8671c84e8214c676c449fc14d5e12ad7.tar.bz2
docs-80b4f8ab8671c84e8214c676c449fc14d5e12ad7.zip
update anastasis installation instructions
Diffstat (limited to 'frags/installing-gnunet-gtk.rst')
-rw-r--r--frags/installing-gnunet-gtk.rst28
1 files changed, 28 insertions, 0 deletions
diff --git a/frags/installing-gnunet-gtk.rst b/frags/installing-gnunet-gtk.rst
new file mode 100644
index 00000000..d4c8319f
--- /dev/null
+++ b/frags/installing-gnunet-gtk.rst
@@ -0,0 +1,28 @@
+The following steps assume at least the GNUnet and Gtk+ dependencies are installed.
+
+First, unpack the gnunet-gtk tarball and change into the resulting directory.
+Then, use the following commands to build and install gnunet-gtk:
+
+.. code-block:: console
+
+ $ ./configure [--prefix=$PFX] \
+ [--with-gnunet=$GNUNETPFX]
+ $ # Each dependency can be fetched from non standard locations via
+ $ # the '--with-<LIBNAME>' option. See './configure --help'.
+ $ make
+ # make install
+
+It is highly recommended to use the same prefix ($PFX) for gnunet-gtk that was
+used for GNUnet ($GNUNETPFX). If you did not specify a prefix, gnunet-gtk
+will be installed to ``/usr/local``, which requires you to run the last step
+as ``root``.
+
+You have to specify ``--with-gnunet=/usr/local`` if you installed
+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 ``$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 gnunet-gtk would then fail.