redhat安装varnish4.0.1遇到的问题解决记录

./configure --prefix=/usr/common/varnish 安装varnish报出如下错误
configure: error: rst2man is needed to build Varnish, please install python-docutils.
解决方法链接如下
http://docutils.sourceforge.net/README.html#installation

安装docutils  包 docutils-snapshot.tgz

  1. Open a shell.

  2. Go to the directory created by expanding the archive:

    cd <archive_directory_path>
    
  3. Install the package (you may need root permissions to complete this step):

    su
    (enter admin password)
    python setup.py install

之后make install 报错如下

varnishadm.c:48:33: error: editline/readline.h: No such file or directory

解决如下
yum install *readline-devel*
yum install libedit libedit-dev*

如果你要禁用 -S/PSK认证,指定'-S'一个空的参数给varnishd:

 http://my.oschina.net/monkeyzhu/blog/413059

猜你喜欢

转载自601231495li.iteye.com/blog/2317337
今日推荐