- conclude for SET
[oweals/gnunet.git] / doc / gnunet-c-tutorial.tex
index b5826cdd3ad26054fd89c5f7ee48f37843f6b0ef..8ad4d30190a1dc9217ed1635fa5bb3b1a5f2e576 100644 (file)
@@ -117,7 +117,9 @@ ECC functions not available in any released version of libgcrypt.
 $ git clone git://git.gnupg.org/libgcrypt.git
 $ cd libgcrypt
 $ ./autogen.sh
-$ ./configure ; $ make install 
+$ ./configure
+$ sudo make install 
+$ sudo ldconfig
 \end{lstlisting}
 
 \label{sub:install}
@@ -420,7 +422,7 @@ The source code for the above listing can be found at
 \begin{lstlisting}
 $ export CPPFLAGS="-I/path/to/gnunet/headers"
 $ export LDFLAGS="-L/path/to/gnunet/libraries"
-$ gcc -o testbed-test testbed_test.c  -lgnunettestbed -lgnunetdht -lgnunetutil
+$ gcc $CPPFLAGS $LDFLAGS -o testbed-test testbed_test.c  -lgnunettestbed -lgnunetdht -lgnunetutil
 \end{lstlisting}
 The \texttt{CPPFLAGS} and \texttt{LDFLAGS} are necessary if GNUnet is installed
 into a different directory other than \texttt{/usr/local}.