Centos6.5安装Varnish编译软件

安装

目前varnish官网目前最新版本Varnish Cache 6.0.0,我选择安装Varnish Cache 5.2.1,需要依赖python-docutils,安装提示需要python最低版本python2.7,目前centos7的python版本才是python2.7,避免新安装的python影响系统目前python2;.6版本的运行,所以选择安装varnish-5.0.0.tgz,

varnish-5.0.0.tgz

cd varnish-5.0.0

./configure –prefix=/usr/local/varnish

提示configure: error: requires an X/Open-compatible Curses library

需要安装ncurses-devel

yum -y install ncurses-devel

接着编译提示

configure: error: neither libedit nor another readline compatible library found
缺少 libedit-devel

yum -y install libedit-devel

更多错误参考:http://blog.51cto.com/php2012web/1640182

make && make install

来源:灵魂自由的忙人

声明:本站部分文章及图片转载于互联网,内容版权归原作者所有,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!

上一篇 2018年2月21日
下一篇 2018年2月21日

相关推荐