[0c702b61] | 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/releases/download/v&nghttp2-version;/nghttp2-&nghttp2-version;.tar.bz2">
|
---|
| 9 | <!ENTITY nghttp2-download-ftp " ">
|
---|
[8c4c822] | 10 | <!ENTITY nghttp2-md5sum "6ed937b1c3e7541508a253324ed91ecc">
|
---|
[0c702b61] | 11 | <!ENTITY nghttp2-size "1.7 MB">
|
---|
[8c4c822] | 12 | <!ENTITY nghttp2-buildsize "16.1 MB">
|
---|
[0c702b61] | 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 | <bridgehead renderas="sect3">nghttp2 Dependencies</bridgehead>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 77 | <para role="required">
|
---|
| 78 | <xref linkend="libxml2"/>
|
---|
| 79 | </para>
|
---|
| 80 |
|
---|
| 81 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 82 | <para role="optional">
|
---|
| 83 | <xref linkend="boost"/>, <!--required for the C++ asio library)-->
|
---|
| 84 | <xref linkend="python2"/>, <!--required for the python bindings)-->
|
---|
[9b3405c] | 85 | <phrase revision="systemd">
|
---|
| 86 | <xref linkend="setuptools"/>, <!--(required for the python bindings-->
|
---|
| 87 | </phrase>
|
---|
[0c702b61] | 88 | <ulink url="http://cunit.sourceforge.net/">CUnit</ulink> (required for
|
---|
| 89 | the testsuite),
|
---|
| 90 | <ulink url="http://cython.org/">Cython</ulink>, <!--required for the
|
---|
| 91 | python bindings-->
|
---|
| 92 | <ulink url="http://www.digip.org/jansson/">Jansson</ulink>, <!--required
|
---|
| 93 | to build the HPACK tools-->
|
---|
| 94 | <ulink url="http://www.canonware.com/jemalloc/">jemalloc</ulink>,
|
---|
| 95 | <!--required for the example HTTP server-->
|
---|
| 96 | <ulink url="http://software.schmorp.de/pkg/libev.html">libev</ulink>,
|
---|
| 97 | <!--required to build the applications-->
|
---|
| 98 | <ulink url="http://libevent.org/">libevent</ulink>, <!--required to build
|
---|
| 99 | the examples-->
|
---|
| 100 | <ulink url="https://mruby.org/">mruby</ulink>, <!--provides ruby support
|
---|
| 101 | in the sample HTTP server-->
|
---|
[9b3405c] | 102 | <phrase revision="sysv">
|
---|
| 103 | <ulink url="https://pypi.python.org/pypi/setuptools/">Setuptools</ulink>,
|
---|
| 104 | </phrase>
|
---|
[0c702b61] | 105 | <ulink url="https://tatsuhiro-t.github.io/spdylay/">Spdylay</ulink>, and
|
---|
| 106 | <!--provide SPDY functionality-->
|
---|
| 107 | <ulink url="http://sphinx-doc.org/">Sphinx</ulink>. <!--required to build
|
---|
| 108 | documentation-->
|
---|
| 109 | </para>
|
---|
| 110 |
|
---|
| 111 | <para condition="html" role="usernotes">
|
---|
| 112 | User Notes: <ulink url="&blfs-wiki;/nghttp2"/>
|
---|
| 113 | </para>
|
---|
| 114 | </sect2>
|
---|
| 115 |
|
---|
| 116 | <sect2 role="installation">
|
---|
| 117 | <title>Installation of nghttp2</title>
|
---|
| 118 |
|
---|
| 119 | <para>
|
---|
| 120 | Install <application>nghttp2</application> by running the following
|
---|
| 121 | commands:
|
---|
| 122 | </para>
|
---|
| 123 |
|
---|
| 124 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 125 | --disable-static \
|
---|
| 126 | --enable-lib-only &&
|
---|
| 127 | make</userinput></screen>
|
---|
| 128 |
|
---|
| 129 | <para>
|
---|
| 130 | This package does not come with a usable test suite.
|
---|
| 131 | </para>
|
---|
| 132 |
|
---|
| 133 | <para>
|
---|
| 134 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 135 | </para>
|
---|
| 136 |
|
---|
| 137 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 138 |
|
---|
| 139 | </sect2>
|
---|
| 140 |
|
---|
| 141 | <sect2 role="commands">
|
---|
| 142 | <title>Command Explanations</title>
|
---|
| 143 |
|
---|
| 144 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 145 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 146 |
|
---|
| 147 | <para>
|
---|
| 148 | <parameter>--enable-lib-only</parameter>: only build libnghttp2. Omit
|
---|
| 149 | this switch if you'd like to build the example applications, Python
|
---|
| 150 | bindings, or the C++ asio library.
|
---|
| 151 | </para>
|
---|
| 152 |
|
---|
| 153 | </sect2>
|
---|
| 154 |
|
---|
| 155 | <sect2 role="content">
|
---|
| 156 | <title>Contents</title>
|
---|
| 157 |
|
---|
| 158 | <segmentedlist>
|
---|
| 159 | <segtitle>Installed Programs</segtitle>
|
---|
| 160 | <segtitle>Installed Libraries</segtitle>
|
---|
| 161 | <segtitle>Installed Directories</segtitle>
|
---|
| 162 |
|
---|
| 163 | <seglistitem>
|
---|
| 164 | <seg>
|
---|
| 165 | None
|
---|
| 166 | </seg>
|
---|
| 167 | <seg>
|
---|
[8c4c822] | 168 | libnghttp2.so.14.11.0
|
---|
[0c702b61] | 169 | </seg>
|
---|
| 170 | <seg>
|
---|
| 171 | /usr/include/nghttp2
|
---|
| 172 | </seg>
|
---|
| 173 | </seglistitem>
|
---|
| 174 | </segmentedlist>
|
---|
| 175 |
|
---|
| 176 | <variablelist>
|
---|
| 177 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 178 | <?dbfo list-presentation="list"?>
|
---|
| 179 | <?dbhtml list-presentation="table"?>
|
---|
| 180 |
|
---|
| 181 | <varlistentry id="libnghttp2">
|
---|
[8c4c822] | 182 | <term><filename class="libraryfile">libnghttp2.so.14.11.0</filename></term>
|
---|
[0c702b61] | 183 | <listitem>
|
---|
| 184 | <para>
|
---|
| 185 | an implementation of the Hypertext Transfer Protocol version 2 in C.
|
---|
| 186 | </para>
|
---|
| 187 | <indexterm zone="nghttp2 libnghttp2">
|
---|
| 188 | <primary sortas="c-libnghttp2">libnghttp2.so.14.10.1</primary>
|
---|
| 189 | </indexterm>
|
---|
| 190 | </listitem>
|
---|
| 191 | </varlistentry>
|
---|
| 192 |
|
---|
| 193 | </variablelist>
|
---|
| 194 |
|
---|
| 195 | </sect2>
|
---|
| 196 |
|
---|
| 197 | </sect1>
|
---|