bfenetworks / bfe

A modern layer 7 load balancer from baidu
https://www.bfe-networks.net
Apache License 2.0
6.12k stars 946 forks source link

release-v1.4.0在go1.13.8环境编译失败 #1089

Closed cherishman2005 closed 1 year ago

cherishman2005 commented 1 year ago

image

下载 release-v1.4.0在go1.13.8环境编译

# make 
build github.com/bfenetworks/bfe: cannot load io/fs: malformed module path "io/fs": missing dot in first path element
go get golang.org/x/tools/cmd/goyacc
cd "bfe_basic/condition/parser" && go generate
go test -race -cover ./...
build github.com/bfenetworks/bfe: cannot load io/fs: malformed module path "io/fs": missing dot in first path element
Makefile:75: recipe for target 'test-case' failed
make: *** [test-case] Error 1

google发现 https://github.com/DefectDojo/godojo/issues/31


Also, io/fs came into go around 1.16 so if your go version is less than 1.16, that's likely your problem.
``
iyangsj commented 1 year ago

感谢反馈的问题!可以使用golang 1.16+版本来编译bfe

我们后续会更新文档说明,也欢迎直接提交MR来更新文档 install_from_source.md