|
Dave Cheney |
at Jun 25, 2013 at 12:13 am
|
⇧ |
| |
errors is already owned by the standard library.
Try again with something like fmt or image/gif. If this is the same
error, then please raise a bug, the go tool should detect this
earlier* and give a better error
Dave
* i believe the Go tool is compiling the pkg to a temp directory then
getting confused because the normal path that errors would be
installed to, $GOROOT/pkg/$GOOS_$GOARCH/ is rightly not inside
$GOPATH.
On Tue, Jun 25, 2013 at 10:09 AM, Dan Kortschak
wrote:
Can someone help me out with this error? I'm obviously missing something
really obvious; but errors is clearly in my GOPATH.
Ahh, I cannot name the package "errors". Why?
$ go install
go install: no install location for directory /home/daniel/Development/src/errors outside GOPATH
$ go env
GOARCH="amd64"
GOBIN=""
GOCHAR="6"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/daniel/Development"
GORACE=""
GOROOT="/usr/local/src/go"
GOTOOLDIR="/usr/local/src/go/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-g -O2 -fPIC -m64 -pthread"
CGO_ENABLED="1"
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/groups/opt_out.--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/groups/opt_out.