Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

math/bits dependency not downloaded #9

Closed
Michionlion opened this issue Oct 17, 2018 · 1 comment
Closed

math/bits dependency not downloaded #9

Michionlion opened this issue Oct 17, 2018 · 1 comment

Comments

@Michionlion
Copy link
Collaborator

Michionlion commented Oct 17, 2018

After running go install github.com/golang/dep/cmd/dep but not setup.sh, the following happens:

$ go build -o bin/neighbor cmd/neighbor/main.go 
vendor/golang.org/x/crypto/ssh/cipher.go:19:2: cannot find package "math/bits" in any of:
	/home/michionlion/go/src/github.com/mccurdyc/neighbor/vendor/math/bits (vendor tree)
	/usr/lib/go-1.8/src/math/bits (from $GOROOT)
	/home/michionlion/go/src/math/bits (from $GOPATH)

My Go installation is as vanilla as it gets but I'll try and see if it's that.

@Michionlion
Copy link
Collaborator Author

Installing from source instead of using the default golang package (with 1.8) on Ubuntu fixed this issue. No idea of the cause -- perhaps some cipher algorithms aren't included since it must be open source?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant