diff options
-rw-r--r-- | doc/gnunet-c-tutorial.pdf | bin | 242423 -> 376475 bytes | |||
-rw-r--r-- | doc/gnunet-c-tutorial.tex | 15 |
2 files changed, 15 insertions, 0 deletions
diff --git a/doc/gnunet-c-tutorial.pdf b/doc/gnunet-c-tutorial.pdf index 50dd98430..def137387 100644 --- a/doc/gnunet-c-tutorial.pdf +++ b/doc/gnunet-c-tutorial.pdf | |||
Binary files 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 | |||
103 | $ ./bootstrap | 103 | $ ./bootstrap |
104 | \end{lstlisting} | 104 | \end{lstlisting} |
105 | 105 | ||
106 | The remainder of this tutorial assumes that you have SVN HEAD checked out. | ||
106 | 107 | ||
107 | \subsection{Compiling and Installing GNUnet} | 108 | \subsection{Compiling and Installing GNUnet} |
109 | |||
110 | First, you need to install the latest {\tt | ||
111 | libgnupgerror}\footnote{\url{ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.11.tar.bz2}} | ||
112 | and {\tt libgcrypt} version from Git. The current GNUnet code uses | ||
113 | ECC functions not available in any released version of libgcrypt. | ||
114 | |||
115 | \lstset{language=bash} | ||
116 | \begin{lstlisting} | ||
117 | $ git clone git://git.gnupg.org/libgcrypt.git | ||
118 | $ cd libgcrypt | ||
119 | $ ./autogen.sh | ||
120 | $ ./configure ; $ make install | ||
121 | \end{lstlisting} | ||
122 | |||
108 | \label{sub:install} | 123 | \label{sub:install} |
109 | Assuming all dependencies are installed, the following commands will compile and install GNUnet in your | 124 | Assuming all dependencies are installed, the following commands will compile and install GNUnet in your |
110 | 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 | 125 | 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 |