magiccao / gcfg

Automatically exported from code.google.com/p/gcfg
Other
0 stars 0 forks source link

gcfg failed to get #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When I try to install the package with: "go get code.google.com/p/gcfg"

I get this error:

../../../go/src/code.google.com/p/gcfg/go1_2.go:6:2: no buildable Go source 
files in /usr/local/go/src/pkg/encoding

I'm using: "go version go1.2 linux/amd64"

Original issue reported on code.google.com by aniel...@gmail.com on 2 Apr 2014 at 3:09

GoogleCodeExporter commented 9 years ago
Thanks for trying gcfg! Are you sure go1.2 is installed in /usr/local/go? Could 
you paste the output of "go env"?

go/src/pkg/encoding/encoding.go was added in 1.2 so the compiler should be able 
to find it. It may be that you have package sources from an older version of go 
stdlib sources remaining on your disk, and a misconfigured go1.2 compiler/tool 
is trying to use those. (Moreover, if you downloaded a binary package, or built 
the whole thing from source, it should use go/pkg/linux_amd64/encoding.a and 
not try to compile it from source; another hint that points to 
misconfiguration.)

Original comment by speter....@gmail.com on 3 Apr 2014 at 1:50

GoogleCodeExporter commented 9 years ago
I assume this has been resolved as there has been no update for a long while. 
Feel free to reopen with more details in case it persists.

Original comment by speter....@gmail.com on 30 Aug 2014 at 10:17