logkit icon indicating copy to clipboard operation
logkit copied to clipboard

go build failed

Open soulmachine opened this issue 3 years ago • 1 comments

Bug Report

This project can not compile under go1.15.10

logkit 相关配置:

none

运行环境:

go1.15.10

logkit 版本:

master

操作系统版本:

Ubuntu 20.04.2 LTS

复现过程操作步骤:

make all failed with the following error:

$ make all
go generate
tools/generators/grok_pattern_generator.go:13:2: cannot find package "github.com/qiniu/log" in any of:
	/usr/local/go/src/github.com/qiniu/log (from $GOROOT)
	/home/ubuntu/go/src/github.com/qiniu/log (from $GOPATH)
logkit.go:235: running "go": exit status 1
make: *** [Makefile:2: all] Error 1

Cause: It seems the project https://github.com/qiniu/log is not public available anymore

预期表现:

should compile the project and generate a binary as output

实际情况:

go build failed

soulmachine avatar Mar 26 '21 21:03 soulmachine

logkit目前编译基于1.10.8版本的golang logkit compile requires golang version 1.10.8

原因:高版本的golang不支持windows2003和windows2008/32位 reason:the high version golang not support windows2003, windows2008/32bit

PapaPiya avatar Apr 30 '21 06:04 PapaPiya