gpt4 book ai didi

makefile - 安装 web.go 错误

转载 作者:数据小太阳 更新时间:2023-10-29 03:18:00 25 4
gpt4 key购买 nike

我正在尝试安装 web.go。我得到了源代码并运行了 make,但我收到了这些错误:

g -o _go_.6 cookie.go fcgi.go request.go scgi.go servefile.go status.go web.go 
cookie.go:33: c.Version undefined (type *http.Cookie has no field or method Version)
cookie.go:34: c.Version undefined (type *http.Cookie has no field or method Version)
cookie.go:54: c.Comment undefined (type *http.Cookie has no field or method Comment)
cookie.go:55: c.Comment undefined (type *http.Cookie has no field or method Comment)
cookie.go:78: c.Version undefined (type *http.Cookie has no field or method Version)
cookie.go:79: c.Version undefined (type *http.Cookie has no field or method Version)
web.go:191: undefined: reflect.FuncValue
web.go:248: undefined: reflect.FuncValue
web.go:272: undefined: reflect.FuncType
web.go:591: undefined: reflect.FuncValue
cookie.go:79: too many errors
make: *** [_go_.6] Error 1

有人知道问题出在哪里吗?我只是安装go,所以它应该是最新版本。 6g -V 每周给出6g版本.2011-04-04 8038.

谢谢,乔恩

最佳答案

听起来您似乎不经意地检查了过去的最新一周,并带来了一些最近的反射(reflection)变化。尝试运行

hg checkout -r weekly

运行验证

hg identify

应该输出

cd89452cfea3+ weekly/weekly.2011-04-04

然后再次运行 all.bash 以重建所有内容并尝试再次安装 web.go。

关于makefile - 安装 web.go 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5602789/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com