source: networking/netlibs/nghttp2.xml@ 4ebade44

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 4ebade44 was 879932f, checked in by Douglas R. Reno <renodr@…>, 7 years ago

Archive setuptools
Modify Python instructions to add setuptools and pip as part of the installation
Tags for the Python section + a few others

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18316 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.1 KB
Line 
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 "https://github.com/nghttp2/nghttp2/releases/download/v&nghttp2-version;/nghttp2-&nghttp2-version;.tar.xz">
8 <!ENTITY nghttp2-download-ftp " ">
9 <!ENTITY nghttp2-md5sum "1cfe2618940c14f3ee9eddb17004c0f8">
10 <!ENTITY nghttp2-size "1.4 MB">
11 <!ENTITY nghttp2-buildsize "15 MB">
12 <!ENTITY nghttp2-time "0.1 SBU">
13]>
14
15<sect1 id="nghttp2" xreflabel="nghttp2-&nghttp2-version;">
16 <?dbhtml filename="nghttp2.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>nghttp2-&nghttp2-version;</title>
24
25 <indexterm zone="nghttp2">
26 <primary sortas="a-nghttp2">nghttp2</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to nghttp2</title>
31
32 <para>
33 <application>nghttp2</application> is an implementation of HTTP/2 and
34 its header compression algorithm, HPACK.
35 </para>
36
37 &lfs7a_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&nghttp2-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&nghttp2-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &nghttp2-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &nghttp2-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &nghttp2-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &nghttp2-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72<!--
73 <note><para>Download this file via wget as:</para>
74<screen><userinput>wget https://github.com/nghttp2/nghttp2/archive/v&nghttp2-version;.tar.gz \
75 -O nghttp2-&nghttp2-version;.tar.gz</userinput></screen>
76 </note>
77-->
78 <bridgehead renderas="sect3">nghttp2 Dependencies</bridgehead>
79
80 <bridgehead renderas="sect4">Recommended</bridgehead>
81 <para role="required">
82 <xref linkend="libxml2"/>
83 </para>
84
85 <bridgehead renderas="sect4">Optional</bridgehead>
86 <para role="optional">
87 <xref linkend="boost"/>, <!--required for the C++ asio library)-->
88 <xref linkend="libevent"/>, <!--required to build the examples-->
89 <xref linkend="python2"/>, <!--required for the python bindings)-->
90<!--- <phrase revision="systemd">
91 <xref linkend="setuptools"/>, <!- -(required for the python bindings- ->
92 </phrase> -->
93 <ulink url="http://cunit.sourceforge.net/">CUnit</ulink> (required for
94 the testsuite),
95 <ulink url="http://cython.org/">Cython</ulink>, <!--required for the
96 python bindings-->
97 <ulink url="http://www.digip.org/jansson/">Jansson</ulink>, <!--required
98 to build the HPACK tools-->
99 <ulink url="http://www.canonware.com/jemalloc/">jemalloc</ulink>,
100 <!--required for the example HTTP server-->
101 <ulink url="http://software.schmorp.de/pkg/libev.html">libev</ulink>,
102 <!--required to build the applications-->
103 <ulink url="https://mruby.org/">mruby</ulink>, <!--provides ruby support
104 in the sample HTTP server-->
105<!-- <phrase revision="sysv">
106 <ulink url="https://pypi.python.org/pypi/setuptools/">Setuptools</ulink>,
107 </phrase> -->
108 <ulink url="https://tatsuhiro-t.github.io/spdylay/">Spdylay</ulink>, and
109 <!--provide SPDY functionality-->
110 <ulink url="http://sphinx-doc.org/">Sphinx</ulink>. <!--required to build
111 documentation-->
112 </para>
113
114 <para condition="html" role="usernotes">
115 User Notes: <ulink url="&blfs-wiki;/nghttp2"/>
116 </para>
117 </sect2>
118
119 <sect2 role="installation">
120 <title>Installation of nghttp2</title>
121
122 <para>
123 Install <application>nghttp2</application> by running the following
124 commands:
125 </para>
126
127<screen><userinput>./configure --prefix=/usr \
128 --disable-static \
129 --enable-lib-only \
130 --docdir=/usr/share/doc/nghttp2-&nghttp2-version; &amp;&amp;
131make</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
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</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</primary>
193 </indexterm>
194 </listitem>
195 </varlistentry>
196
197 </variablelist>
198
199 </sect2>
200
201</sect1>
Note: See TracBrowser for help on using the repository browser.