projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- conclude for SET
[oweals/gnunet.git]
/
doc
/
gnunet-c-tutorial.tex
diff --git
a/doc/gnunet-c-tutorial.tex
b/doc/gnunet-c-tutorial.tex
index 3b237b578699712d6e5239683c00f239457d4248..8ad4d30190a1dc9217ed1635fa5bb3b1a5f2e576 100644
(file)
--- 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
$ 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}
\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"
\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}.
\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
\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.}
Then use the DHT API to store and retrieve values in the
network.}