-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Not able to install gomail fails #202
Comments
I was facing with the same issue. https://github.com/future-architect/vuls/blob/master/README.md
|
If you are still in trouble, please reopen the issue. |
That's after installing git v2? Can you make it a bit more clear what the fix is? |
Probably the error was occurred in go runtime.... |
|
Would you try with Go 1.7? |
That worked thanks. May want to change your documentation to show golang 1.7 or greater now possibly. |
Yeah, I fixed README. |
[root@5dd37d7a-5a06-4241-826d-a755490cefff vuls-master]# go build main.go /root/go/src/github.com/future-architect/vuls/cache/bolt.go:25:2: cannot find package "github.com/boltdb/bolt" in any of: /usr/local/go/src/github.com/boltdb/bolt (from $GOROOT) /root/go/src/github.com/boltdb/bolt (from $GOPATH) /root/go/src/github.com/future-architect/vuls/commands/cmdutil.go:6:2: cannot find package "github.com/howeyc/gopass" in any of: /usr/local/go/src/github.com/howeyc/gopass (from $GOROOT) /root/go/src/github.com/howeyc/gopass (from $GOPATH) /root/go/src/github.com/future-architect/vuls/commands/discover.go:31:2: cannot find package "github.com/kotakanbe/go-pingscanner" in any of: /usr/local/go/src/github.com/kotakanbe/go-pingscanner (from $GOROOT) /root/go/src/github.com/kotakanbe/go-pingscanner (from $GOPATH) /root/go/src/github.com/future-architect/vuls/scan/sshutil.go:34:2: cannot find package "golang.org/x/crypto/ssh" in any of: /usr/local/go/src/golang.org/x/crypto/ssh (from $GOROOT) /root/go/src/golang.org/x/crypto/ssh (from $GOPATH) /root/go/src/github.com/future-architect/vuls/scan/sshutil.go:35:2: cannot find package "golang.org/x/crypto/ssh/agent" in any of: /usr/local/go/src/golang.org/x/crypto/ssh/agent (from $GOROOT) /root/go/src/golang.org/x/crypto/ssh/agent (from $GOPATH) /root/go/src/github.com/future-architect/vuls/report/mail.go:27:2: cannot find package "gopkg.in/gomail.v2" in any of: /usr/local/go/src/gopkg.in/gomail.v2 (from $GOROOT) /root/go/src/gopkg.in/gomail.v2 (from $GOPATH)
Installed each one individually, and still getting the same issue (just hangs there)
[root@5dd37d7a-5a06-4241-826d-a755490cefff vuls-master]# go get -v gopkg.in/gomail.v2 Fetching https://gopkg.in/gomail.v2?go-get=1 Parsing meta tags from https://gopkg.in/gomail.v2?go-get=1 (status code 200) get "gopkg.in/gomail.v2": found meta tag main.metaImport{Prefix:"gopkg.in/gomail.v2", VCS:"git", RepoRoot:"https://gopkg.in/gomail.v2"} at https://gopkg.in/gomail.v2?go-get=1 gopkg.in/gomail.v2 (download)
I tried building as the go get failed first. This is a CentOS 6.* testing server I just created, installed go and dependencies as mentioned.
Working attempt from Ubuntu 14.04 server.
root@media:~# go get -v gopkg.in/gomail.v2 Fetching https://gopkg.in/gomail.v2?go-get=1 Parsing meta tags from https://gopkg.in/gomail.v2?go-get=1 (status code 200) get "gopkg.in/gomail.v2": found meta tag main.metaImport{Prefix:"gopkg.in/gomail.v2", VCS:"git", RepoRoot:"https://gopkg.in/gomail.v2"} at https://gopkg.in/gomail.v2?go-get=1 gopkg.in/gomail.v2 (download) Fetching https://gopkg.in/alexcesaro/quotedprintable.v3?go-get=1 Parsing meta tags from https://gopkg.in/alexcesaro/quotedprintable.v3?go-get=1 (status code 200) get "gopkg.in/alexcesaro/quotedprintable.v3": found meta tag main.metaImport{Prefix:"gopkg.in/alexcesaro/quotedprintable.v3", VCS:"git", RepoRoot:"https://gopkg.in/alexcesaro/quotedprintable.v3"} at https://gopkg.in/alexcesaro/quotedprintable.v3?go-get=1 gopkg.in/alexcesaro/quotedprintable.v3 (download) gopkg.in/alexcesaro/quotedprintable.v3 gopkg.in/gomail.v2
The text was updated successfully, but these errors were encountered: