Skip to content
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

Cannot install on go 1.2 and 1.3 #64

Closed
syzer opened this issue Jan 25, 2015 · 9 comments
Closed

Cannot install on go 1.2 and 1.3 #64

syzer opened this issue Jan 25, 2015 · 9 comments

Comments

@syzer
Copy link

syzer commented Jan 25, 2015

go get github.com/ChimeraCoder/anaconda
# github.com/dustin/gojson
../src/github.com/dustin/gojson/encode.go:247: undefined: sync.Pool
@ChimeraCoder
Copy link
Owner

What is the output of $ go version?

@syzer
Copy link
Author

syzer commented Jan 25, 2015

go version go1.2.1 linux/amd64

@ChimeraCoder
Copy link
Owner

Ah, yes, sync.Pool was added in 1.3: https://golang.org/doc/go1.3

If you update to the current version (1.4, as of a few weeks ago), you should be good to go.

@ChimeraCoder
Copy link
Owner

(Closed the issue while commenting by mistake - please confirm that it works and I'll close it again.)

@ChimeraCoder ChimeraCoder reopened this Jan 25, 2015
@syzer
Copy link
Author

syzer commented Jan 25, 2015

thanks for reply

@syzer
Copy link
Author

syzer commented Jan 25, 2015

BTW how can i get over 100 geo coordinates associated to tweet (example "Michel Jackson") ?

@syzer syzer changed the title Cannot install Cannot install on go 1.2 Jan 25, 2015
@ChimeraCoder
Copy link
Owner

There's an outstanding pull request for this (#56); I plan on merging it shortly, though if you need it before then you can also apply the patch manually for the time being.

@syzer
Copy link
Author

syzer commented Jan 25, 2015

Error still persist

go get github.com/ChimeraCoder/anaconda
# github.com/dustin/gojson
/opt/go/pkg/tool/linux_amd64/6g: unknown flag -trimpath

@syzer syzer changed the title Cannot install on go 1.2 Cannot install on go 1.2 and 1.3 Jan 25, 2015
@ChimeraCoder
Copy link
Owner

It looks like there's an error with your Go installation. (It also looks like your Go installation is in a non-default location; ie, you have $GOROOT set manually to /opt/go, which may be related to your issue).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants