Build from source problem

Hello, this morning I wiped an old grafana development directory tree and tried to create another following the instructions in http://docs.grafana.org/project/building_from_source/.

But now I get :

go run build.go setup
Version: 6.0.0-pre3, Linux Version: 6.0.0, Package Iteration: 1550054244pre3
go get -v GitHub - golang/dep: Go dependency management tool experiment (deprecated)
go install -v ./pkg/cmd/grafana-server
github.com/grafana/grafana/pkg/setting
# github.com/grafana/grafana/pkg/setting
pkg/setting/setting.go:225:35: undefined: http.SameSite
exit status 2
exit status 1

Any hint?

I found what was wrong: the go compiler was too old.

1 Like

That solved my problem too. Thanks