Hello All,
I have a command that I'm working on that depends on a library that I have in my GOPATH. After upgrading to Go 1.2RC1 I ran a "go install -a <mycmd>" to force it to recompile the command and the library it depends on. When I try this I get the following error:
go install runtime: open /usr/local/go/pkg/linux_amd64/runtime.a: permission denied
It appears that it is trying to recompile one of the Go runtime packages in the GOROOT and failing because the install directory is owned by root. I'm using godeb to manage my packages. I'm not sure if that makes a difference.
Is there a way to coerce it to recompile only packages that are in my local GOPATH and not the ones in the GOROOT?
Thanks,
Chris