nghttp2 is an implementation of HTTP/2 and its header compression algorithm, HPACK.
This package is known to build and work properly using an LFS 13.1 platform.
Download (HTTP): https://github.com/nghttp2/nghttp2/releases/download/v1.70.0/nghttp2-1.70.0.tar.xz
Download MD5 sum: 3df2b4b51caa13b76032bfd2d11d4ab2
Download size: 2.0 MB
Estimated disk space required: 29 MB
Estimated build time: 0.1 SBU
The following are only used if building the full package instead of only the main libraries: c-ares-1.34.8, jansson-2.15.1, libevent-2.1.13, sphinx-9.1.0, jemalloc, libev, mruby, and Spdylay.
Install nghttp2 by running the following commands:
./configure --prefix=/usr \
--disable-static \
--enable-lib-only \
--docdir=/usr/share/doc/nghttp2-1.70.0 &&
make
To test the results, issue: make check.
Now, as the root user:
make install
--disable-static: This
switch prevents installation of static versions of the libraries.
--enable-lib-only: only
build libnghttp2. Omit this switch if you'd like to build the
example applications, Python bindings, or the C++ asio library.