From 9122bceef097dd520e236d04d086d2bd061cc6f9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 15 Apr 2013 09:39:44 +0000 Subject: gitlibgcrypt --- doc/gnunet-c-tutorial.pdf | Bin 242423 -> 376475 bytes doc/gnunet-c-tutorial.tex | 15 +++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/doc/gnunet-c-tutorial.pdf b/doc/gnunet-c-tutorial.pdf index 50dd98430..def137387 100644 Binary files a/doc/gnunet-c-tutorial.pdf and b/doc/gnunet-c-tutorial.pdf differ diff --git a/doc/gnunet-c-tutorial.tex b/doc/gnunet-c-tutorial.tex index 659b86980..e58e47399 100644 --- a/doc/gnunet-c-tutorial.tex +++ b/doc/gnunet-c-tutorial.tex @@ -103,8 +103,23 @@ $ cd gnunet $ ./bootstrap \end{lstlisting} +The remainder of this tutorial assumes that you have SVN HEAD checked out. \subsection{Compiling and Installing GNUnet} + +First, you need to install the latest {\tt + libgnupgerror}\footnote{\url{ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.11.tar.bz2}} +and {\tt libgcrypt} version from Git. The current GNUnet code uses +ECC functions not available in any released version of libgcrypt. + +\lstset{language=bash} +\begin{lstlisting} +$ git clone git://git.gnupg.org/libgcrypt.git +$ cd libgcrypt +$ ./autogen.sh +$ ./configure ; $ make install +\end{lstlisting} + \label{sub:install} Assuming all dependencies are installed, the following commands will compile and install GNUnet in your home directory. You can specify the directory where GNUnet will be installed by changing the \lstinline|--prefix| value when calling \lstinline|./configure|. If you do not specifiy a prefix, GNUnet is installed in the directory \lstinline|/usr/local|. When developing new applications you may want to enable -- cgit v1.2.3