installing-gnunet-gtk.rst (1288B)
1 The following steps assume at least the GNUnet and Gtk+ dependencies are installed. 2 3 First, unpack the gnunet-gtk tarball and change into the resulting directory. 4 Then, 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 15 It is highly recommended to use the same prefix ($PFX) for gnunet-gtk that was 16 used for GNUnet ($GNUNETPFX). If you did not specify a prefix, gnunet-gtk 17 will be installed to ``/usr/local``, which requires you to run the last step 18 as ``root``. 19 20 You have to specify ``--with-gnunet=/usr/local`` if you installed 21 GNUnet to ``/usr/local`` in the previous steps. 22 23 Depending on the prefixes you specified for the installation and the 24 distribution you are using, you may have to edit ``/etc/ld.so.conf``, adding 25 lines for ``$GNUNETPFX/lib/`` and ``$PFX/lib/`` (replace the prefixes with the 26 actual paths you used). Afterwards, you should run ``ldconfig``. Without this 27 step, it is possible that the linker may not find the installed libraries and 28 launching gnunet-gtk would then fail.