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

MarGo can't be installed due to error with go-sqlite3 on Windows 10 x64 #811

Closed
andyone opened this issue Feb 17, 2018 · 1 comment
Closed

Comments

@andyone
Copy link
Contributor

andyone commented Feb 17, 2018

Hi, I found this records in console output:

GoSublime r18.02.17-1: gs.init()
GoSublime r18.02.17-1: sh.init()
GoSublime r18.02.17-1 sh: using shell env GOPATH=D:\Workspace\gocode\
GoSublime r18.02.17-1 sh: using shell env GOROOT=C:\Go\
GoSublime r18.02.17-1 sh: using shell env PATH=C:\Go\bin;D:\Workspace\gocode\bin;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Skype\Phone\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Users\andy\AppData\Local\Microsoft\WindowsApps;C:\Users\andy\AppData\Local\atom\bin;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\Git\bin;C:\Users\andy\bin;C:\Users\andy\go\bin
GoSublime r18.02.17-1 sh: go version: `go1.9.2` (raw version string `go1.9.2`)
GoSublime r18.02.17-1 sh: shell bootstrap took 0.663s
GoSublime r18.02.17-1: margo.init()
GoSublime r18.02.17-1: mg9.init()
[13:40:23] margo: agent#007: starting

** 2018-02-17 13:40:23.938084 **:
GoSublime init r18.02.17-1 (0.001s)
|   install margo: no
|   install state: done
| sublime.version: 3143
| sublime.channel: stable
|       about.ann: a18.02.17-1
|   about.version: r18.02.17-1
|         version: r18.02.17-1
|        platform: windows-x64
|            ~bin: ~\AppData\Roaming\Sublime Text 3\Packages\User\GoSublime\windows-x64\bin
|       margo.exe: ~bin\gosublime.margo_r18.02.17-1_go1.9.2.exe (ok)
|          go.exe: C:\Go\bin\go.exe (ok)
|      go.version: go1.9.2
|          GOROOT: C:\Go\
|          GOPATH: D:\Workspace\gocode\
|           GOBIN: (not set)
|       set.shell: []
|       env.shell:
|       shell.cmd: ['C:\\WINDOWS\\system32\\cmd.exe', '/C', '${CMD}']
|    sh.bootstrap: 
|                > 	using shell env GOPATH=D:\Workspace\gocode\
|                > 	using shell env GOROOT=C:\Go\
|                > 	using shell env PATH=C:\Go\bin;D:\Workspace\gocode\bin;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Skype\Phone\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\QuickTime\QTSystem\;~\AppData\Local\Microsoft\WindowsApps;~\AppData\Local\atom\bin;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\Git\bin;~\bin;~\go\bin
|                > 	go version: `go1.9.2` (raw version string `go1.9.2`)
|                > 	shell bootstrap took 0.663s
|                >
--------------------------------

  margo: agent#007: ['go', 'install', '-v', 'disposa.blue/margo/cmd/margo']:
  disposa.blue/margo/vendor/github.com/mattn/go-sqlite3
  # disposa.blue/margo/vendor/github.com/mattn/go-sqlite3
  exec: "gcc": executable file not found in %PATH%
  
[13:40:24] margo: agent#007: ['margo', 'sublime', '-codec', 'msgpack']
[13:40:24] margo: agent#007: stopping
[13:40:24] margo: agent#007: Cannot start margo: Cannot find command `margo`

Also, I tried to download this package manually by go get command and got the same error:

PS C:\Users\andy> go get -v github.com/mattn/go-sqlite3
github.com/mattn/go-sqlite3 (download)
github.com/mattn/go-sqlite3
# github.com/mattn/go-sqlite3
exec: "gcc": executable file not found in %PATH%

I found related bug in go-sqlite3 repository, and it looks like we cannot build go-sqlite3 on Windows without MinGW.

Should I be worried about this error?

@DisposaBoy
Copy link
Owner

I included sqlite to make sure it could be compiled without problem, but it's not actually being used yet so I just removed it. The next release shouldn't fail anymore.

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

2 participants