-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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: go install file.go should not work if GOBIN is set #6192
Comments
I should note that CL 13234052 fixes the error so that instead of being told about "outside GOPATH" it says go install: no install location for .go files listed on command line (GOBIN not set) That at least should make the different behavior very clear. Status changed to WorkingAsIntended. |
Hi, When I run command "go install hello.go" in hello directory, I get the above mentioned error message go install: no install location for .go files listed on command line (GOBIN not set) I can run the program using "go run hello.go" properly. I understand that if I have GOPATH correctly set, i don't need to set GOBIN. Am I missing anything? I am running OS X Yosemite 10.10.3 with go1.4.2 darwin/amd64 Thanks. |
This issue was closed in 2013. Please don't ask questions on closed issues. Please ask them on the mailing list golang-nuts@googlegroups.com. Thanks. |
The text was updated successfully, but these errors were encountered: