fishi0x01 / vsh

vsh - HashiCorp Vault interactive shell and cli tool
MIT License
284 stars 12 forks source link

compile doesnt work #81

Closed benny-dreamly closed 3 years ago

benny-dreamly commented 3 years ago

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

fishi0x01 commented 3 years ago

Hi :wave:

You already opened an issue about compilation: https://github.com/fishi0x01/vsh/issues/77

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

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)