我从github下载源代码:https://github.com/nghttp2/nghttp2。 并按步骤安装:
$ autoreconf -i
$ automake
$ autoconf
$ ./configure
$ make
每一步都行,但我不能使用它。
nghttp
-bash:nghttp:找不到命令
但是,我在 Ubuntu 14.04 上成功安装了nghttp2!
答案 0 :(得分:0)
sudo yum groupinstall "Development Tools"
sudo yum install libev libev-devel zlib zlib-devel openssl openssl-devel git
git clone git@github.com:tatsuhiro-t/nghttp2.git //or download and unzip
cd nghttp2
autoreconf -i
automake
autoconf
./configure --prefix=/usr/local/nghttpx --enable-app
make
sudo make install
/usr/local/bin/{nghttp,nghttpd,nghttpx}