1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY nghttp2-download-http
|
---|
8 | "https://github.com/nghttp2/nghttp2/archive/v&nghttp2-version;.tar.gz">
|
---|
9 | <!ENTITY nghttp2-download-ftp " ">
|
---|
10 | <!ENTITY nghttp2-md5sum "8ca7b8f937f52001bf00de0d5996ed24">
|
---|
11 | <!ENTITY nghttp2-size "1.6 MB">
|
---|
12 | <!ENTITY nghttp2-buildsize "16.7 MB">
|
---|
13 | <!ENTITY nghttp2-time "0.1 SBU">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="nghttp2" xreflabel="nghttp2-&nghttp2-version;">
|
---|
17 | <?dbhtml filename="nghttp2.html"?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <othername>$LastChangedBy$</othername>
|
---|
21 | <date>$Date$</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>nghttp2-&nghttp2-version;</title>
|
---|
25 |
|
---|
26 | <indexterm zone="nghttp2">
|
---|
27 | <primary sortas="a-nghttp2">nghttp2</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <sect2 role="package">
|
---|
31 | <title>Introduction to nghttp2</title>
|
---|
32 |
|
---|
33 | <para>
|
---|
34 | <application>nghttp2</application> is an implementation of HTTP/2 and
|
---|
35 | its header compression algorithm, HPACK.
|
---|
36 | </para>
|
---|
37 |
|
---|
38 | &lfs7a_checked;
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>
|
---|
44 | Download (HTTP): <ulink url="&nghttp2-download-http;"/>
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 | <!-- <listitem>
|
---|
48 | <para>
|
---|
49 | Download (FTP): <ulink url="&nghttp2-download-ftp;"/>
|
---|
50 | </para>
|
---|
51 | </listitem> -->
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download MD5 sum: &nghttp2-md5sum;
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Download size: &nghttp2-size;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Estimated disk space required: &nghttp2-buildsize;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>
|
---|
69 | Estimated build time: &nghttp2-time;
|
---|
70 | </para>
|
---|
71 | </listitem>
|
---|
72 | </itemizedlist>
|
---|
73 |
|
---|
74 | <note><para>Download this file via wget as:</para>
|
---|
75 | <screen><userinput>wget https://github.com/nghttp2/nghttp2/archive/v&nghttp2-version;.tar.gz \
|
---|
76 | -O nghttp2-&nghttp2-version;.tar.gz</userinput></screen>
|
---|
77 | </note>
|
---|
78 |
|
---|
79 | <bridgehead renderas="sect3">nghttp2 Dependencies</bridgehead>
|
---|
80 |
|
---|
81 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
82 | <para role="required">
|
---|
83 | <xref linkend="libxml2"/>
|
---|
84 | </para>
|
---|
85 |
|
---|
86 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
87 | <para role="optional">
|
---|
88 | <xref linkend="boost"/>, <!--required for the C++ asio library)-->
|
---|
89 | <xref linkend="libevent"/>, <!--required to build the examples-->
|
---|
90 | <xref linkend="python2"/>, <!--required for the python bindings)-->
|
---|
91 | <phrase revision="systemd">
|
---|
92 | <xref linkend="setuptools"/>, <!--(required for the python bindings-->
|
---|
93 | </phrase>
|
---|
94 | <ulink url="http://cunit.sourceforge.net/">CUnit</ulink> (required for
|
---|
95 | the testsuite),
|
---|
96 | <ulink url="http://cython.org/">Cython</ulink>, <!--required for the
|
---|
97 | python bindings-->
|
---|
98 | <ulink url="http://www.digip.org/jansson/">Jansson</ulink>, <!--required
|
---|
99 | to build the HPACK tools-->
|
---|
100 | <ulink url="http://www.canonware.com/jemalloc/">jemalloc</ulink>,
|
---|
101 | <!--required for the example HTTP server-->
|
---|
102 | <ulink url="http://software.schmorp.de/pkg/libev.html">libev</ulink>,
|
---|
103 | <!--required to build the applications-->
|
---|
104 | <ulink url="https://mruby.org/">mruby</ulink>, <!--provides ruby support
|
---|
105 | in the sample HTTP server-->
|
---|
106 | <phrase revision="sysv">
|
---|
107 | <ulink url="https://pypi.python.org/pypi/setuptools/">Setuptools</ulink>,
|
---|
108 | </phrase>
|
---|
109 | <ulink url="https://tatsuhiro-t.github.io/spdylay/">Spdylay</ulink>, and
|
---|
110 | <!--provide SPDY functionality-->
|
---|
111 | <ulink url="http://sphinx-doc.org/">Sphinx</ulink>. <!--required to build
|
---|
112 | documentation-->
|
---|
113 | </para>
|
---|
114 |
|
---|
115 | <para condition="html" role="usernotes">
|
---|
116 | User Notes: <ulink url="&blfs-wiki;/nghttp2"/>
|
---|
117 | </para>
|
---|
118 | </sect2>
|
---|
119 |
|
---|
120 | <sect2 role="installation">
|
---|
121 | <title>Installation of nghttp2</title>
|
---|
122 |
|
---|
123 | <para>
|
---|
124 | Install <application>nghttp2</application> by running the following
|
---|
125 | commands:
|
---|
126 | </para>
|
---|
127 |
|
---|
128 | <screen><userinput>./configure --prefix=/usr \
|
---|
129 | --disable-static \
|
---|
130 | --enable-lib-only &&
|
---|
131 | make</userinput></screen>
|
---|
132 |
|
---|
133 | <para>
|
---|
134 | This package does not come with a usable test suite.
|
---|
135 | </para>
|
---|
136 |
|
---|
137 | <para>
|
---|
138 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
139 | </para>
|
---|
140 |
|
---|
141 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
142 |
|
---|
143 | </sect2>
|
---|
144 |
|
---|
145 | <sect2 role="commands">
|
---|
146 | <title>Command Explanations</title>
|
---|
147 |
|
---|
148 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
149 | href="../../xincludes/static-libraries.xml"/>
|
---|
150 |
|
---|
151 | <para>
|
---|
152 | <parameter>--enable-lib-only</parameter>: only build libnghttp2. Omit
|
---|
153 | this switch if you'd like to build the example applications, Python
|
---|
154 | bindings, or the C++ asio library.
|
---|
155 | </para>
|
---|
156 |
|
---|
157 | </sect2>
|
---|
158 |
|
---|
159 | <sect2 role="content">
|
---|
160 | <title>Contents</title>
|
---|
161 |
|
---|
162 | <segmentedlist>
|
---|
163 | <segtitle>Installed Programs</segtitle>
|
---|
164 | <segtitle>Installed Libraries</segtitle>
|
---|
165 | <segtitle>Installed Directories</segtitle>
|
---|
166 |
|
---|
167 | <seglistitem>
|
---|
168 | <seg>
|
---|
169 | None
|
---|
170 | </seg>
|
---|
171 | <seg>
|
---|
172 | libnghttp2.so.14.11.0
|
---|
173 | </seg>
|
---|
174 | <seg>
|
---|
175 | /usr/include/nghttp2
|
---|
176 | </seg>
|
---|
177 | </seglistitem>
|
---|
178 | </segmentedlist>
|
---|
179 |
|
---|
180 | <variablelist>
|
---|
181 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
182 | <?dbfo list-presentation="list"?>
|
---|
183 | <?dbhtml list-presentation="table"?>
|
---|
184 |
|
---|
185 | <varlistentry id="libnghttp2">
|
---|
186 | <term><filename class="libraryfile">libnghttp2.so.14.11.0</filename></term>
|
---|
187 | <listitem>
|
---|
188 | <para>
|
---|
189 | an implementation of the Hypertext Transfer Protocol version 2 in C.
|
---|
190 | </para>
|
---|
191 | <indexterm zone="nghttp2 libnghttp2">
|
---|
192 | <primary sortas="c-libnghttp2">libnghttp2.so.14.10.1</primary>
|
---|
193 | </indexterm>
|
---|
194 | </listitem>
|
---|
195 | </varlistentry>
|
---|
196 |
|
---|
197 | </variablelist>
|
---|
198 |
|
---|
199 | </sect2>
|
---|
200 |
|
---|
201 | </sect1>
|
---|