X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=doc%2Fgnunet-c-tutorial.tex;h=8ad4d30190a1dc9217ed1635fa5bb3b1a5f2e576;hb=68403fa780bf94ace2ebc13c2c09463cbbc0b57c;hp=3b237b578699712d6e5239683c00f239457d4248;hpb=d1b08d89eea94c9b5c3eb09c52f88c5f7765bd04;p=oweals%2Fgnunet.git diff --git a/doc/gnunet-c-tutorial.tex b/doc/gnunet-c-tutorial.tex index 3b237b578..8ad4d3019 100644 --- a/doc/gnunet-c-tutorial.tex +++ b/doc/gnunet-c-tutorial.tex @@ -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 -lgnunettestbed -lgnunetdht -lgnunetutil testbed_test.c +$ 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}. @@ -466,8 +468,7 @@ disconnect from the service with the provided service handle (\texttt{op\_result \exercise{Find out how many peers you can run on your system.} \exercise{Find out how to create a 2D torus topology by changing the - options in the configuration file.\footnote{FIXME: Sree Harsha: need to - document configuration file options on gnunet.org and add link here!} + options in the configuration file.\footnote{See \url{https://gnunet.org/content/supported-topologies}} Then use the DHT API to store and retrieve values in the network.}