Closed quchunguang closed 5 years ago
| > cmd: ['~/share/go/bin/go', 'build', '-v', '-x', '-o', 'gosublime.margo_r16.03.22-1_devel+ad391c9.exe', 'gosubli.me/margo']
It seems margo trying to build the Windows version even on Linux.
runtime.typ2Itab: not defined
suggests it's a broken Go installation. The name gosublime.margo_r16.03.22-1_devel+ad391c9.exe
is deterministic and correct, it's not the problem.
same problem
GoSublime error: MarGo build failed
| > This is possibly a bug or miss-configuration of your environment.
| > For more help, please file an issue with the following build output
| > at: https://github.com/DisposaBoy/GoSublime/issues/new
| > or alternatively, you may send an email to: gosublime@dby.me
| >
| >
| > cmd: ['', 'build', '-tags', '', '-v', '-o', 'gosublime.margo_r16.05.07-1_go?.exe', 'disposa.blue/cmd/margo']
| > stdout: | > | >
| > stderr: | > | >
| > exception: Cannot find command
go` | install state: busy | sublime.version: 3103 | sublime.channel: stable | about.ann: a16.05.07-1 | about.version: r16.05.07-1 | version: r16.05.07-1 | platform: linux-x64 | ~bin: ~/.config/sublime-text-3/Packages/User/GoSublime/linux-x64/bin | margo.exe: ~bin/gosublime.margo_r16.05.07-1_go?.exe (missing) | go.exe: ~/software/go/bin/go (ok) | go.version: go? | GOROOT: ~/work/listomego:~/gowork | GOPATH: ~/software/go | GOBIN: (not set) (should usually be
(not set)`)
| set.shell: []
| env.shell: /bin/bash
| shell.cmd: ['/bin/bash', '-l', '-c', '${CMD}']
@sheepbao your GOROOT
looks wrong.
@DisposaBoy YES,you are right! Thank you!