The following package is required to build the libnghttp2 library:
- pkg-config >= 0.20
To build and run the unit test programs, the following package is required:
- cunit >= 2.1
To build the documentation, you need to install:
- sphinx (http://sphinx-doc.org/)
If you need libnghttp2 (C library) only, then the above packages are all you need. Use
--enable-lib-only
to ensure that only libnghttp2 is built. This avoids potential build error related to building bundled applications.
To build and run the application programs (
nghttp
, nghttpd
, nghttpx
and h2load
) in the src
directory, the following packages are required:- OpenSSL >= 1.0.1
- libev >= 4.11
- zlib >= 1.2.3
ALPN support requires OpenSSL >= 1.0.2 (released 22 January 2015). LibreSSL >= 2.2.0 can be used instead of OpenSSL, but OpenSSL has more features than LibreSSL at the time of this writing.
To enable the SPDY protocol in the application program
nghttpx
and h2load
, the following package is required:- spdylay >= 1.3.2
To enable
-a
option (getting linked assets from the downloaded resource) in nghttp
, the following package is required:- libxml2 >= 2.7.7
The HPACK tools require the following package:
- jansson >= 2.5
To build sources under the examples directory, libevent is required:
- libevent-openssl >= 2.0.8
To mitigate heap fragmentation in long running server programs (
nghttpd
and nghttpx
), jemalloc is recommended:- jemalloc
libnghttp2_asio C++ library requires the following packages:
- libboost-dev >= 1.54.0
- libboost-thread-dev >= 1.54.0
The Python bindings require the following packages:
- cython >= 0.19
- python >= 2.7
- python-setuptools
No comments:
Post a Comment