shurcooL/Go-Package-Store

Build failing

dominikschulz opened this issue · 4 comments

Hi,

rev 38743ee fails to build:

go build
# github.com/shurcooL/go/gists/gist7480523
../go/gists/gist7480523/main.go:51: bpkg.ConflictDir undefined (type *build.Package has no field or method ConflictDir)
../go/gists/gist7480523/main.go:52: bpkg.ConflictDir undefined (type *build.Package has no field or method ConflictDir)

What version of Go are you using?

build.Package is a part of standard Go library and it certainly has a field ConflictDir.

https://code.google.com/p/go/source/browse/src/pkg/go/build/build.go?name=go1.3.3#352

It looks like ConflictDir was added in Go version 1.2, so you must have Go version 1.1 or older. That is more than a year old so you'll run into many problems.

The current version of Go is 1.3.3, please install it and try again.

http://golang.org/doc/install

@Gittex, did that help?

It's been 16 days with no response. I'm pretty sure the solution I provided (update to a decently modern version of Go, like 1.2 or later) should fix the issue. Closing.