nghttp2-1.58.0

Introduction to nghttp2

nghttp2 is an implementation of HTTP/2 and its header compression algorithm, HPACK.

[注記]

注記

LFS や依存パッケージが本ブックに示す最新安定バージョンでなかった場合には、BLFS 開発版においては、パッケージのビルドや処理実行が適切に行われないことがあります。

Package Information

nghttp2 Dependencies

Recommended

libxml2-2.12.3

Optional

The following are only used if building the full package instead of only the main libraries: Boost-1.84.0, c-ares-1.24.0, cython-0.29.36, jansson-2.14, libevent-2.1.12, sphinx-7.2.6, jemalloc, libev, mruby, and Spdylay.

CUnit is required if you wish to run the test suite.

Installation of nghttp2

Install nghttp2 by running the following commands:

./configure --prefix=/usr     \
            --disable-static  \
            --enable-lib-only \
            --docdir=/usr/share/doc/nghttp2-1.58.0 &&
make

The test suite needs CUnit, which is beyond the scope of BLFS.

Now, as the root user:

make install

Command Explanations

--disable-static: このスイッチはスタティックライブラリをインストールしないようにします。

--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.

Contents

Installed Programs: None
Installed Libraries: libnghttp2.so
Installed Directories: /usr/include/nghttp2, /usr/share/nghttp2, and /usr/share/doc/nghttp2-1.58.0

Short Descriptions

libnghttp2.so

an implementation of the Hypertext Transfer Protocol version 2 in C