nghttp2-1.69.0

Introduction to nghttp2

nghttp2 is an implementation of HTTP/2 and its header compression algorithm, HPACK. Packages use this to support HTTP/2, which in some cases is required outright.

nghttp2 Dependencies

Recommended
libxml2-2.15.3

Installation of nghttp2

Install nghttp2 by running the following commands:

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

Now, as the root user:

make install

lib32 Installation of nghttp2

Install lib32-nghttp2 by running the following commands:

CC="gcc -m32" CXX="g++ -m32"         \
PKG_CONFIG_PATH=/usr/lib32/pkgconfig \
./configure --prefix=/usr            \
            --libdir=/usr/lib32      \
            --host=i686-pc-linux-gnu \
            --disable-static         \
            --enable-lib-only       &&
make

Now, as the root user:

make DESTDIR=$PWD/DESTDIR install    &&
cp -vr DESTDIR/usr/lib32/* /usr/lib32 &&
rm -rf DESTDIR                        &&
ldconfig

Command Explanations

Note

Run ./configure --help for a full list of options.

--disable-static: This switch prevents installation of static versions of the libraries.

--enable-lib-only: Tells the build system to only build libnghttp2 as the full package is unneeded and pulls in more dependencies.

Contents

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

Short Descriptions

libnghttp2

is a C implementation of the Hypertext Transfer Protocol v2