aboutsummaryrefslogtreecommitdiff
path: root/doc/sphinx/frags/installing-gnunet-gtk.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/sphinx/frags/installing-gnunet-gtk.rst')
-rw-r--r--doc/sphinx/frags/installing-gnunet-gtk.rst28
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/sphinx/frags/installing-gnunet-gtk.rst b/doc/sphinx/frags/installing-gnunet-gtk.rst
new file mode 100644
index 0000000..d4c8319
--- /dev/null
+++ b/doc/sphinx/frags/installing-gnunet-gtk.rst
@@ -0,0 +1,28 @@
1The following steps assume at least the GNUnet and Gtk+ dependencies are installed.
2
3First, unpack the gnunet-gtk tarball and change into the resulting directory.
4Then, use the following commands to build and install gnunet-gtk:
5
6.. code-block:: console
7
8 $ ./configure [--prefix=$PFX] \
9 [--with-gnunet=$GNUNETPFX]
10 $ # Each dependency can be fetched from non standard locations via
11 $ # the '--with-<LIBNAME>' option. See './configure --help'.
12 $ make
13 # make install
14
15It is highly recommended to use the same prefix ($PFX) for gnunet-gtk that was
16used for GNUnet ($GNUNETPFX). If you did not specify a prefix, gnunet-gtk
17will be installed to ``/usr/local``, which requires you to run the last step
18as ``root``.
19
20You have to specify ``--with-gnunet=/usr/local`` if you installed
21GNUnet to ``/usr/local`` in the previous steps.
22
23Depending on the prefixes you specified for the installation and the
24distribution you are using, you may have to edit ``/etc/ld.so.conf``, adding
25lines for ``$GNUNETPFX/lib/`` and ``$PFX/lib/`` (replace the prefixes with the
26actual paths you used). Afterwards, you should run ``ldconfig``. Without this
27step, it is possible that the linker may not find the installed libraries and
28launching gnunet-gtk would then fail.