DisposaBoy / GoSublime

A Golang plugin collection for SublimeText 3, providing code completion and other IDE-like features.
MIT License
3.42k stars 302 forks source link

New install issue #532

Closed aspinei closed 5 years ago

aspinei commented 10 years ago

cmd: ['/usr/local/Cellar/go/1.2.2/bin/go', 'build', '-v', '-x', '-o', 'gosublime.margo_r13.12.26-3_go1.2.2.exe', 'gosubli.me/margo'] | > stdout: ` | > stderr:WORK=/var/folders/fw/pvm6k8ns64z22bp29zlj_7lm0000gn/T/go-build630382636 | > ../../../../GoSublime/src/gosubli.me/margo/broker.go:4:2: cannot find package "bufio" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/bufio (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/bufio (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/margo/broker.go:5:2: cannot find package "bytes" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/bytes (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/bytes (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/margo/common.go:5:2: cannot find package "encoding/base64" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/encoding/base64 (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/encoding/base64 (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/margo/broker.go:6:2: cannot find package "encoding/json" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/encoding/json (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/encoding/json (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/something-borrowed/gocode/package.go:5:2: cannot find package "errors" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/errors (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/errors (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/margo/main.go:7:2: cannot find package "flag" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/flag (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/flag (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/margo/common.go:7:2: cannot find package "fmt" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/fmt (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/fmt (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/margo/common.go:8:2: cannot find package "go/ast" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/go/ast (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/go/ast (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/margo/m_play.go:5:2: cannot find package "go/build" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/go/build (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/go/build (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/margo/common.go:9:2: cannot find package "go/parser" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/go/parser (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/go/parser (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/margo/common.go:10:2: cannot find package "go/printer" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/go/printer (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/go/printer (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/margo/m_lint.go:6:2: cannot find package "go/scanner" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/go/scanner (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/go/scanner (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/margo/common.go:11:2: cannot find package "go/token" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/go/token (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/go/token (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/something-borrowed/gocode/config.go:7:2: cannot find package "io" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/io (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/io (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/something-borrowed/gocode/autocompletecontext.go:9:2: cannot find package "io/ioutil" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/io/ioutil (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/io/ioutil (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/margo/main.go:10:2: cannot find package "log" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/log (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/log (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/something-borrowed/types/const.go:12:2: cannot find package "math/big" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/math/big (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/math/big (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/something-borrowed/gocode/server.go:5:2: cannot find package "net" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/net (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/net (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/margo/m_pkgdoc.go:7:2: cannot find package "net/http" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/net/http (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/net/http (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/something-borrowed/gocode/client.go:7:2: cannot find package "net/rpc" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/net/rpc (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/net/rpc (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/margo/m_pkgdoc.go:8:2: cannot find package "net/url" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/net/url (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/net/url (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/something-borrowed/gocode/autocompletecontext.go:10:2: cannot find package "os" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/os (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/os (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/something-borrowed/gocode/os_posix.go:8:2: cannot find package "os/exec" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/os/exec (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/os/exec (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/margo/m_doc.go:7:2: cannot find package "path" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/path (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/path (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/something-borrowed/gocode/autocompletecontext.go:11:2: cannot find package "path/filepath" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/path/filepath (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/path/filepath (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/something-borrowed/gocode/config.go:10:2: cannot find package "reflect" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/reflect (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/reflect (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/margo/m_lint.go:9:2: cannot find package "regexp" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/regexp (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/regexp (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/something-borrowed/gocode/autocompletecontext.go:12:2: cannot find package "runtime" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/runtime (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/runtime (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/something-borrowed/gocode/autocompletecontext.go:13:2: cannot find package "sort" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/sort (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/sort (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/something-borrowed/gocode/client.go:10:2: cannot find package "strconv" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/strconv (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/strconv (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/something-borrowed/gocode/decl.go:10:2: cannot find package "strings" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/strings (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/strings (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/something-borrowed/gocode/decl.go:11:2: cannot find package "sync" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/sync (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/sync (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/something-borrowed/gocode/package.go:13:2: cannot find package "text/scanner" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/text/scanner (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/text/scanner (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/something-borrowed/gocode/autocompletecontext.go:14:2: cannot find package "time" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/time (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/time (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/something-borrowed/gocode/cursorcontext.go:6:2: cannot find package "unicode" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/unicode (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/unicode (from $GOPATH) | > ../../../../GoSublime/src/gosubli.me/something-borrowed/gocode/cursorcontext.go:7:2: cannot find package "unicode/utf8" in any of: | > /usr/local/Cellar/go/1.2.2/src/pkg/unicode/utf8 (from $GOROOT) | > ~/Library/Application Support/Sublime Text 3/Packages/GoSublime/src/unicode/utf8 (from $GOPATH) | > exception:None | install state: busy | sublime.version: 3059 | sublime.channel: stable | about.ann: a14.02.25-1 | about.version: r13.12.26-3 | version: r13.12.26-3 | platform: osx-x64 | ~bin: ~/Library/Application Support/Sublime Text 3/Packages/User/GoSublime/osx-x64/bin | margo.exe: ~bin/gosublime.margo_r13.12.26-3_go1.2.2.exe (missing) | go.exe: /usr/local/Cellar/go/1.2.2/bin/go (ok) | go.version: go1.2.2 | GOROOT: /usr/local/Cellar/go/1.2.2 | GOPATH: ~/gopath | GOBIN: (not set) (should usually be(not set)`) | set.shell: [] | env.shell: /bin/bash | shell.cmd: ['/bin/bash', '-l', '-c', '${CMD}']

TechMaster commented 10 years ago

I encountered same issue with Maverick - Home Brew - SubLime Text 3 - Go 1.3.1. I cannot install GoSublime Text. I think the package misunderstood Mac is Windows OS.