X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=doc%2Fgnunet-c-tutorial.tex;h=8ad4d30190a1dc9217ed1635fa5bb3b1a5f2e576;hb=68403fa780bf94ace2ebc13c2c09463cbbc0b57c;hp=b5826cdd3ad26054fd89c5f7ee48f37843f6b0ef;hpb=1466ead1e0ddda5bff906820fc0351e57b899ad3;p=oweals%2Fgnunet.git diff --git a/doc/gnunet-c-tutorial.tex b/doc/gnunet-c-tutorial.tex index b5826cdd3..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 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}.