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

cmd/go: Windows: "go get ..." doesn't work: "The system cannot find the file specified." #21803

Closed
bxqgit opened this issue Sep 8, 2017 · 1 comment

Comments

@bxqgit
Copy link

bxqgit commented Sep 8, 2017

What version of Go are you using (go version)?

go version go1.9 windows/amd64

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

set GOARCH=amd64
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=C:\Go
set GORACE=
set GOROOT=C:\bin\go
set GOTOOLDIR=C:\bin\go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0
set CXX=g++
set CGO_ENABLED=1
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config

What did you do?

I want to get "x/net/websocket" into my project via:

go get golang.org/x/net/websocket

What did you expect to see?

I expected no errors.

What did you see instead?

go get golang.org/x/net/websocket
# cd C:\Go\src\golang.org\x\net; git submodule update --init --recursive
package golang.org/x/net/websocket: chdir C:\Go\src\golang.org\x\net: The system cannot find the file specified.
@ianlancetaylor ianlancetaylor changed the title "go get ..." Doesn't work. "The system cannot find the file specified." cmd/go: Windows: "go get ..." doesn't work: "The system cannot find the file specified." Sep 8, 2017
@ianlancetaylor
Copy link
Contributor

Please show us the complete output of go get -x golang.org/x/net/websocket.

@ianlancetaylor ianlancetaylor added this to the Go1.10 milestone Sep 8, 2017
@bxqgit bxqgit closed this as completed Sep 29, 2017
@golang golang locked and limited conversation to collaborators Sep 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants