我已经在 ubuntu 14.04 中安装了 varnish,使用这。
清漆版本:
varnishd -V varnishd (varnish-4.0.3 revision b8c4a34) Copyright (c) 2006 Verdens Gang AS Copyright (c) 2006-2014 Varnish Software AS
现在我尝试从来源继安装.rst文件。我已经安装了所有需要满足的依赖项,但我的安装仍然在制作。我搜索了很多,但还是没能找出它为什么会坏掉。下面是最后几行制作
modules/vstat.c:76:25: error: ‘const struct VSC_desc’ has no member named ‘ctype’ assert(!strcmp(pt->desc->ctype, "uint64_t")); ^ ../include/common.h:125:6: note: in definition of macro ‘assert’ ((expr) ? (void)(0) : assert_fail(#expr, __FILE__, __LINE__, __func__)); ^ modules/vstat.c:76:25: error: ‘const struct VSC_desc’ has no member named ‘ctype’ assert(!strcmp(pt->desc->ctype, "uint64_t")); ^ ../include/common.h:125:6: note: in definition of macro ‘assert’ ((expr) ? (void)(0) : assert_fail(#expr, __FILE__, __LINE__, __func__)); ^ modules/vstat.c:76:25: error: ‘const struct VSC_desc’ has no member named ‘ctype’ assert(!strcmp(pt->desc->ctype, "uint64_t")); ^ ../include/common.h:125:6: note: in definition of macro ‘assert’ ((expr) ? (void)(0) : assert_fail(#expr, __FILE__, __LINE__, __func__)); ^ modules/vstat.c:94:52: error: ‘const struct VSC_desc’ has no member named ‘semantics’ VSB_printf(out_vsb, "\"flag\": \"%c\", ", pt->desc->semantics); ^ make[2]: *** [modules/varnish_agent-vstat.o] Error 1 make[2]: Leaving directory /home/ubuntu/vagent2/src make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /home/ubuntu/vagent2 make: *** [all] Error 2
请问有人能找出出了什么问题吗?
答案1
我遇到了同样的错误。从主分支下载代码后解决了。