redhat安装varnish4.0.1遇到的有关问题解决记录
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
-
Open a shell.
-
Go to the directory created by expanding the archive:
cd <archive_directory_path>
-
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: