diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-07-30 10:38:27 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-07-30 10:38:27 +0200 |
commit | 7e669bcf6b6336ec429da949bcb4aa456971dba2 (patch) | |
tree | d19912f950d1cac1c38b857b7d5bdaba2289544e /doc/sphinx/frags/installing-gnunet-gtk.rst | |
download | anastasis-7e669bcf6b6336ec429da949bcb4aa456971dba2.tar.gz anastasis-7e669bcf6b6336ec429da949bcb4aa456971dba2.tar.bz2 anastasis-7e669bcf6b6336ec429da949bcb4aa456971dba2.zip |
folding history in preparation of GNU Anastasis v0.0.0 release
Diffstat (limited to 'doc/sphinx/frags/installing-gnunet-gtk.rst')
-rw-r--r-- | doc/sphinx/frags/installing-gnunet-gtk.rst | 28 |
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 @@ +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. |