diff options
author | ng0 <ng0@infotropique.org> | 2017-10-30 14:44:31 +0000 |
---|---|---|
committer | ng0 <ng0@infotropique.org> | 2017-10-30 14:44:31 +0000 |
commit | 1d06f2ffe9727000ad47475043e9a19b3c4dad67 (patch) | |
tree | 0d6b2ab0159de24185a43598b44523200e3e3183 /doc | |
parent | 123d64da992e752b7f34d2d74f4f3c85ca57edce (diff) | |
download | gnunet-1d06f2ffe9727000ad47475043e9a19b3c4dad67.tar.gz gnunet-1d06f2ffe9727000ad47475043e9a19b3c4dad67.zip |
+
Diffstat (limited to 'doc')
-rw-r--r-- | doc/documentation/chapters/installation.texi | 99 |
1 files changed, 68 insertions, 31 deletions
diff --git a/doc/documentation/chapters/installation.texi b/doc/documentation/chapters/installation.texi index d3084eea4..6fd7c6bdd 100644 --- a/doc/documentation/chapters/installation.texi +++ b/doc/documentation/chapters/installation.texi | |||
@@ -97,35 +97,6 @@ recommended for first-time users)} | |||
97 | @item zlib | 97 | @item zlib |
98 | @end itemize | 98 | @end itemize |
99 | 99 | ||
100 | @node Fixing libgnurl build issues | ||
101 | @subsection Fixing libgnurl build issues | ||
102 | |||
103 | @c FIXME: Obviously this subsection should be evaluated and | ||
104 | @c if still necessary moved into gnURL itself (README) or | ||
105 | @c into a separate section which deals with gnURL. | ||
106 | If you have to compile libgnurl from source (for example if the version | ||
107 | included in your distribution is too old or it's not included at all) | ||
108 | you perhaps might get an error message while running the | ||
109 | @command{configure} script: | ||
110 | |||
111 | @example | ||
112 | $ configure | ||
113 | ... | ||
114 | checking for 64-bit curl_off_t data type... unknown | ||
115 | checking for 32-bit curl_off_t data type... unknown | ||
116 | checking for 16-bit curl_off_t data type... unknown | ||
117 | configure: error: cannot find data type for curl_off_t. | ||
118 | @end example | ||
119 | |||
120 | @noindent | ||
121 | Solution: | ||
122 | |||
123 | Before running the @command{configure} script, set: | ||
124 | |||
125 | @example | ||
126 | CFLAGS="-I. -I$BUILD_ROOT/include" | ||
127 | @end example | ||
128 | |||
129 | @node Optional dependencies | 100 | @node Optional dependencies |
130 | @subsection Optional dependencies | 101 | @subsection Optional dependencies |
131 | 102 | ||
@@ -267,7 +238,7 @@ dependencies (and possibly the rest of the GNUnet installation) in the | |||
267 | platform-specific descriptions, which can be found in the Index. | 238 | platform-specific descriptions, which can be found in the Index. |
268 | Please consult them now. | 239 | Please consult them now. |
269 | If your distribution is not listed, please study | 240 | If your distribution is not listed, please study |
270 | @xref{Build instructions for Debian 8}, the build instructions for | 241 | @ref{Build instructions for Debian 8}, the build instructions for |
271 | Debian stable, carefully as you try to install the dependencies for your | 242 | Debian stable, carefully as you try to install the dependencies for your |
272 | own distribution. | 243 | own distribution. |
273 | Contributing additional instructions for further platforms is always | 244 | Contributing additional instructions for further platforms is always |
@@ -370,7 +341,7 @@ prefixed with @code{@@reboot} so that it is executed whenever the system | |||
370 | is booted: | 341 | is booted: |
371 | 342 | ||
372 | @example | 343 | @example |
373 | @@reboot /usr/local/bin/gnunet-arm -c /etc/gnunet.conf -s@ | 344 | @@reboot /usr/local/bin/gnunet-arm -c /etc/gnunet.conf -s |
374 | @end example | 345 | @end example |
375 | 346 | ||
376 | @noindent | 347 | @noindent |
@@ -725,6 +696,9 @@ sources might differ in ways that are only minimal different | |||
725 | (for example a dependency on autotools etc). | 696 | (for example a dependency on autotools etc). |
726 | 697 | ||
727 | @menu | 698 | @menu |
699 | * generic source installation - nettle:: | ||
700 | * generic source installation - ldns:: | ||
701 | * generic source installation - libunbound/unbound:: | ||
728 | * generic source installation - libav:: | 702 | * generic source installation - libav:: |
729 | * generic source installation - libextractor:: | 703 | * generic source installation - libextractor:: |
730 | * generic source installation - libgpg-error:: | 704 | * generic source installation - libgpg-error:: |
@@ -734,6 +708,36 @@ sources might differ in ways that are only minimal different | |||
734 | * generic source installation - libgnurl:: | 708 | * generic source installation - libgnurl:: |
735 | @end menu | 709 | @end menu |
736 | 710 | ||
711 | @node generic source installation - nettle | ||
712 | @subsection generic source installation - nettle | ||
713 | @example | ||
714 | $ wget http://www.lysator.liu.se/~nisse/archive/nettle-2.7.1.tar.gz | ||
715 | $ tar xf nettle-2.7.1.tar.gz | ||
716 | $ cd nettle-2.7.1 | ||
717 | $ ./configure | ||
718 | $ sudo make install ; cd .. | ||
719 | @end example | ||
720 | |||
721 | @node generic source installation - ldns | ||
722 | @subsection generic source installation - ldns | ||
723 | @example | ||
724 | $ wget https://www.nlnetlabs.nl/downloads/ldns/ldns-1.6.16.tar.gz | ||
725 | $ tar xf ldns-1.6.16.tar.gz | ||
726 | $ cd ldns-1.6.16 | ||
727 | $ ./configure | ||
728 | $ sudo make install ; cd .. | ||
729 | @end example | ||
730 | |||
731 | @node generic source installation - libunbound/unbound | ||
732 | @subsection generic source installation - libunbound/unbound | ||
733 | @example | ||
734 | $ wget https://unbound.net/downloads/unbound-1.4.21.tar.gz | ||
735 | $ tar xf unbound-1.4.21.tar.gz | ||
736 | $ cd unbound-1.4.21 | ||
737 | $ ./configure | ||
738 | $ sudo make install ; cd .. | ||
739 | @end example | ||
740 | |||
737 | @node generic source installation - libav | 741 | @node generic source installation - libav |
738 | @subsection generic source installation - libav | 742 | @subsection generic source installation - libav |
739 | @example | 743 | @example |
@@ -778,6 +782,10 @@ $ cd gnutls-3.2.7 ; ./configure; | |||
778 | $ make ; sudo make install ; cd .. | 782 | $ make ; sudo make install ; cd .. |
779 | @end example | 783 | @end example |
780 | 784 | ||
785 | @noindent | ||
786 | If you want a GnuTLS with DANE functionality, you have to compile | ||
787 | it against libunbound. | ||
788 | |||
781 | @node generic source installation - libmicrohttpd | 789 | @node generic source installation - libmicrohttpd |
782 | @subsection generic source installation - libmicrohttpd | 790 | @subsection generic source installation - libmicrohttpd |
783 | @example | 791 | @example |
@@ -803,6 +811,35 @@ $ ./configure --enable-ipv6 --with-gnutls=/usr/local --without-libssh2 \ | |||
803 | $ make ; sudo make install; cd .. | 811 | $ make ; sudo make install; cd .. |
804 | @end example | 812 | @end example |
805 | 813 | ||
814 | @node Fixing libgnurl build issues | ||
815 | @subsubsection Fixing libgnurl build issues | ||
816 | |||
817 | @c FIXME: Obviously this subsection should be evaluated and | ||
818 | @c if still necessary moved into gnURL itself (README) or | ||
819 | @c into a separate section which deals with gnURL. | ||
820 | If you have to compile libgnurl from source (for example if the version | ||
821 | included in your distribution is too old or it's not included at all) | ||
822 | you perhaps might get an error message while running the | ||
823 | @command{configure} script: | ||
824 | |||
825 | @example | ||
826 | $ configure | ||
827 | ... | ||
828 | checking for 64-bit curl_off_t data type... unknown | ||
829 | checking for 32-bit curl_off_t data type... unknown | ||
830 | checking for 16-bit curl_off_t data type... unknown | ||
831 | configure: error: cannot find data type for curl_off_t. | ||
832 | @end example | ||
833 | |||
834 | @noindent | ||
835 | Solution: | ||
836 | |||
837 | Before running the @command{configure} script, set: | ||
838 | |||
839 | @example | ||
840 | CFLAGS="-I. -I$BUILD_ROOT/include" | ||
841 | @end example | ||
842 | |||
806 | @node Build Instructions for Microsoft Windows Platforms | 843 | @node Build Instructions for Microsoft Windows Platforms |
807 | @section Build Instructions for Microsoft Windows Platforms | 844 | @section Build Instructions for Microsoft Windows Platforms |
808 | 845 | ||