$ 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}
\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}.
\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.}