aboutsummaryrefslogtreecommitdiff
path: root/doc/documentation
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2017-12-13 13:55:42 +0000
committerng0 <ng0@n0.is>2017-12-13 13:55:42 +0000
commit30c642ca213227dc7f91992ef7897fc5baf4a979 (patch)
treecdd53dadeaa49d3fb1f26805046bdb3d6ca25ca9 /doc/documentation
parent513c56ddcbe02e9b8469a592cae142d93d068bc8 (diff)
downloadgnunet-30c642ca213227dc7f91992ef7897fc5baf4a979.tar.gz
gnunet-30c642ca213227dc7f91992ef7897fc5baf4a979.zip
Some additions to the generic installation collection.
Diffstat (limited to 'doc/documentation')
-rw-r--r--doc/documentation/chapters/installation.texi65
1 files changed, 51 insertions, 14 deletions
diff --git a/doc/documentation/chapters/installation.texi b/doc/documentation/chapters/installation.texi
index 7be1e9833..eca77afcd 100644
--- a/doc/documentation/chapters/installation.texi
+++ b/doc/documentation/chapters/installation.texi
@@ -671,6 +671,7 @@ sources might differ in ways that are only minimal different
671 671
672@node generic source installation - nettle 672@node generic source installation - nettle
673@subsection generic source installation - nettle 673@subsection generic source installation - nettle
674
674@example 675@example
675$ wget http://www.lysator.liu.se/~nisse/archive/nettle-2.7.1.tar.gz 676$ wget http://www.lysator.liu.se/~nisse/archive/nettle-2.7.1.tar.gz
676$ tar xf nettle-2.7.1.tar.gz 677$ tar xf nettle-2.7.1.tar.gz
@@ -681,6 +682,7 @@ $ sudo make install ; cd ..
681 682
682@node generic source installation - ldns 683@node generic source installation - ldns
683@subsection generic source installation - ldns 684@subsection generic source installation - ldns
685
684@example 686@example
685$ wget https://www.nlnetlabs.nl/downloads/ldns/ldns-1.6.16.tar.gz 687$ wget https://www.nlnetlabs.nl/downloads/ldns/ldns-1.6.16.tar.gz
686$ tar xf ldns-1.6.16.tar.gz 688$ tar xf ldns-1.6.16.tar.gz
@@ -691,6 +693,7 @@ $ sudo make install ; cd ..
691 693
692@node generic source installation - libunbound/unbound 694@node generic source installation - libunbound/unbound
693@subsection generic source installation - libunbound/unbound 695@subsection generic source installation - libunbound/unbound
696
694@example 697@example
695$ wget https://unbound.net/downloads/unbound-1.4.21.tar.gz 698$ wget https://unbound.net/downloads/unbound-1.4.21.tar.gz
696$ tar xf unbound-1.4.21.tar.gz 699$ tar xf unbound-1.4.21.tar.gz
@@ -701,6 +704,7 @@ $ sudo make install ; cd ..
701 704
702@node generic source installation - libav 705@node generic source installation - libav
703@subsection generic source installation - libav 706@subsection generic source installation - libav
707
704@example 708@example
705$ wget https://libav.org/releases/libav-9.10.tar.xz 709$ wget https://libav.org/releases/libav-9.10.tar.xz
706$ cd libav-0.9 ; ./configure --enable-shared; 710$ cd libav-0.9 ; ./configure --enable-shared;
@@ -709,6 +713,7 @@ $ make; sudo make install; cd ..
709 713
710@node generic source installation - libextractor 714@node generic source installation - libextractor
711@subsection generic source installation - libextractor 715@subsection generic source installation - libextractor
716
712@example 717@example
713$ wget https://ftp.gnu.org/gnu/libextractor/libextractor-1.3.tar.gz 718$ wget https://ftp.gnu.org/gnu/libextractor/libextractor-1.3.tar.gz
714$ tar xvf libextractor-1.3.tar.gz 719$ tar xvf libextractor-1.3.tar.gz
@@ -718,6 +723,7 @@ $ make ; sudo make install; cd ..
718 723
719@node generic source installation - libgpg-error 724@node generic source installation - libgpg-error
720@subsection generic source installation - libgpg-error 725@subsection generic source installation - libgpg-error
726
721@example 727@example
722$ wget https://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.12.tar.bz2 728$ wget https://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.12.tar.bz2
723$ tar xvf libgpg-error-1.12.tar.bz2 729$ tar xvf libgpg-error-1.12.tar.bz2
@@ -736,19 +742,36 @@ $ make ; sudo make install ; cd ..
736 742
737@node generic source installation - gnutls 743@node generic source installation - gnutls
738@subsection generic source installation - gnutls 744@subsection generic source installation - gnutls
745
739@example 746@example
740$ wget ftp://ftp.gnutls.org/gcrypt/gnutls/v3.2/gnutls-3.2.7.tar.xz 747$ wget ftp://ftp.gnutls.org/gcrypt/gnutls/v3.2/gnutls-3.2.7.tar.xz
741$ tar xvf gnutls-3.2.7.tar.xz 748$ tar xvf gnutls-3.2.7.tar.xz
742$ cd gnutls-3.2.7 ; ./configure; 749$ cd gnutls-3.2.7
743$ make ; sudo make install ; cd ..
744@end example 750@end example
745 751
746@noindent 752@noindent
747If you want a GnuTLS with DANE functionality, you have to compile 753If you want a GnuTLS with DANE functionality (recommended for GNUnet),
748it against libunbound. 754you have to compile it against libunbound. Assuming that libunbound
755is installed on your system:
756
757@example
758$ ./configure --enable-libdane
759@end example
760
761@noindent
762Note that the build system of GnuTLS should pick up libunbound without
763the explicit mention of @code{--enable-libdane}.
764If you don't want libdane support you should pass @code{--disable-libdane}
765instead.
766
767@example
768$ ./configure
769$ make ; sudo make install ; cd ..
770@end example
749 771
750@node generic source installation - libmicrohttpd 772@node generic source installation - libmicrohttpd
751@subsection generic source installation - libmicrohttpd 773@subsection generic source installation - libmicrohttpd
774
752@example 775@example
753$ wget https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.33.tar.gz 776$ wget https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.33.tar.gz
754$ tar xvf libmicrohttpd-0.9.33.tar.gz 777$ tar xvf libmicrohttpd-0.9.33.tar.gz
@@ -759,20 +782,34 @@ $ make ; sudo make install ; cd ..
759@node generic source installation - libgnurl 782@node generic source installation - libgnurl
760@subsection generic source installation - libgnurl 783@subsection generic source installation - libgnurl
761 784
785Example installation of libgnurl version 7.57.0 from source.
786
762@example 787@example
763$ wget https://gnunet.org/sites/default/files/gnurl-7.34.0.tar.bz2 788$ wget https://ftp.gnu.org/gnu/gnunet/gnurl-7.57.0.tar.xz
764$ tar xvf gnurl-7.34.0.tar.bz2 789$ wget https://ftp.gnu.org/gnu/gnunet/gnurl-7.57.0.tar.xz.sig
765$ cd gnurl-7.34.0 790$ gpg --verify gnurl-7.57.0.tar.xz.sig
766$ ./configure --enable-ipv6 --with-gnutls=/usr/local --without-libssh2 \ 791@end example
767 --without-libmetalink --without-winidn --without-librtmp \ 792
768 --without-nghttp2 --without-nss --without-cyassl --without-polarssl \ 793@noindent
769 --without-ssl --without-winssl --without-darwinssl --disable-sspi \ 794If that command fails because you do not have the required public key,
770 --disable-ntlm-wb --disable-ldap --disable-rtsp --disable-dict \ 795then run this command to import it:
771 --disable-telnet --disable-tftp --disable-pop3 --disable-imap \ 796
772 --disable-smtp --disable-gopher --disable-file --disable-ftp 797@example
798$ gpg --keyserver pgp.mit.edu --recv-keys A88C8ADD129828D7EAC02E52E22F9BBFEE348588
799@end example
800
801@noindent
802and rerun the gpg --verify command.
803
804@example
805$ tar xvf gnurl-7.57.0.tar.xz
806$ cd gnurl-7.57.0
807$ ./configure --disable-ntlm-wb
773$ make ; sudo make install; cd .. 808$ make ; sudo make install; cd ..
774@end example 809@end example
775 810
811You have now build and installed libgnurl from source.
812
776@menu 813@menu
777* Fixing libgnurl build issues:: 814* Fixing libgnurl build issues::
778@end menu 815@end menu