nghttp2 is an implementation of HTTP/2 and its header compression algorithm, HPACK.
Development versions of BLFS may not build or run some packages properly if dependencies have been updated since the most recent stable versions of the book.
Download (HTTP): https://github.com/nghttp2/nghttp2/releases/download/v1.50.0/nghttp2-1.50.0.tar.xz
Download MD5 sum: 4168ccacaa009665b6a7fe455842f95b
Download size: 3.9 MB
Estimated disk space required: 24 MB
Estimated build time: 0.1 SBU
Boost-1.80.0, c-ares-1.18.1, cython-0.29.32, jansson-2.14, libevent-2.1.12, CUnit (required for the testsuite), jemalloc, libev, mruby, Spdylay, and Sphinx.
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/nghttp2
Install nghttp2 by running the following commands:
./configure --prefix=/usr \
--disable-static \
--enable-lib-only \
--docdir=/usr/share/doc/nghttp2-1.50.0 &&
make
The test suite needs CUnit, which is beyond the scope of BLFS.
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.