centos6.5/6.8上安装nghttp2失败
Posted
技术标签:
【中文标题】centos6.5/6.8上安装nghttp2失败【英文标题】:failed to install nghttp2 on centos6.5/6.8 【发布时间】:2016-08-25 05:59:59 【问题描述】:我从github下载源代码:https://github.com/nghttp2/nghttp2。 并按步骤安装:
$ autoreconf -i
$ automake
$ autoconf
$ ./configure
$ make
每一步都可以,但是我不能用。
nghttp
-bash: nghttp: 找不到命令
但是,我在 Ubuntu 14.04 上安装了 nghttp2 成功!
【问题讨论】:
【参考方案1】: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
【讨论】:
以上是关于centos6.5/6.8上安装nghttp2失败的主要内容,如果未能解决你的问题,请参考以下文章
安装nghttp2 报错error: Libtool library used but 'LIBTOOL' is undefined
安装nghttp2 报错error: Libtool library used but 'LIBTOOL' is undefined