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 12.0 platform.
Download (HTTP): https://github.com/nghttp2/nghttp2/releases/download/v1.55.1/nghttp2-1.55.1.tar.xz
Download MD5 sum: 5af6a7ee55dc96661aa8649636b68763
Download size: 1.5 MB
Estimated disk space required: 19 MB
Estimated build time: less than 0.1 SBU
The following are only used if building the full package instead of only the main libraries: Boost-1.83.0, c-ares-1.19.1, cython-0.29.36, jansson-2.14, libevent-2.1.12, sphinx-7.1.2, jemalloc, libev, mruby, and Spdylay.
CUnit is required if you wish to run the test suite.
Install nghttp2 by running the following commands:
./configure --prefix=/usr \ --disable-static \ --enable-lib-only \ --docdir=/usr/share/doc/nghttp2-1.55.1 && 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.