fishi0x01/vsh

compile doesnt work

Closed this issue · 1 comments

hi the compiler isn't working for som reason please help:

here is the output of the make compile command:

docker rm -f vsh-integration-test-vault || true
/bin/sh: 1: docker: not found
rm ./build/* || true
rm: cannot remove './build/*': No such file or directory
go build -ldflags "-X main.vshVersion=v0.9.0-3-g93f4117-dirty" -o build/vsh_linux_amd64
// github.com/hashicorp/go-retryablehttp
../go/pkg/mod/github.com/hashicorp/go-retryablehttp@v0.6.2/client.go:447:17: c.HTTPClient.CloseIdleConnections undefined (type *http.Client has no field or method CloseIdleConnections)
../go/pkg/mod/github.com/hashicorp/go-retryablehttp@v0.6.2/client.go:507:16: c.HTTPClient.CloseIdleConnections undefined (type *http.Client has no field or method CloseIdleConnections)
../go/pkg/mod/github.com/hashicorp/go-retryablehttp@v0.6.2/client.go:538:16: c.HTTPClient.CloseIdleConnections undefined (type *http.Client has no field or method CloseIdleConnections)
../go/pkg/mod/github.com/hashicorp/go-retryablehttp@v0.6.2/client.go:545:15: c.HTTPClient.CloseIdleConnections undefined (type *http.Client has no field or method CloseIdleConnections)
../go/pkg/mod/github.com/hashicorp/go-retryablehttp@v0.6.2/client.go:554:14: c.HTTPClient.CloseIdleConnections undefined (type *http.Client has no field or method CloseIdleConnections)
make: *** [Makefile:20: compile] Error 2

Hi 👋

You already opened an issue about compilation: #77

Please re-use the old issue, instead of opening new ones which are about the same problem. Thank you 🙇

Further: Please install docker. Please read the requirements in the README. Please try running go build.
In addition to that: Have a look at some go tutorials on the web. E.g., https://golang.org/doc/tutorial/compile-install
Also make sure that your version of go meets the requirements (ideally, >= 1.15)