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 execute go get github.com/missinglink/pbf #13

Closed
jengeb opened this issue Mar 8, 2018 · 3 comments
Closed

Cannot execute go get github.com/missinglink/pbf #13

jengeb opened this issue Mar 8, 2018 · 3 comments

Comments

@jengeb
Copy link

jengeb commented Mar 8, 2018

Hi @missinglink,

Thank you for providing this repository.

After executing go get github.com/missinglink/pbf with version go1.6.2 linux/amd64 I received the following message with the prompt to configure the gopath:

package github.com/missinglink/pbf: cannot download, $GOPATH not set. For more details see: go help gopath

After adding the following lines to ~/.bashrc:

export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin

and applying this by running source ~/.bashrc I could execute the go get github.com/missinglink/pbf command, but received this response:

package math/bits: unrecognized import path "math/bits" (import path does not begin with hostname)
package context: unrecognized import path "context" (import path does not begin with hostname)

Do you have a hint how to fix this and continue the installation (on Ubuntu 16.04, 64-bit)?

Best,
Jenny

@missinglink
Copy link
Owner

hi @jengeb, it looks like one of the dependencies is using a new API from golang 1.9+
please try upgrading your golang and try again.

ref: golang/go#18616

orangejulius added a commit to pelias/polylines that referenced this issue Mar 9, 2018
The [missinglink/pbf](https://github.com/missinglink/pbf) now requires
Go 1.9+, so upgrade to 1.10, the current latest.

Without this, Docker images fail to build

Connects missinglink/pbf#13
orangejulius added a commit to pelias/polylines that referenced this issue Mar 9, 2018
The [missinglink/pbf](https://github.com/missinglink/pbf) now requires
Go 1.9+, so upgrade to 1.10, the current latest.

Without this, Docker images fail to build

Connects missinglink/pbf#13
@missinglink
Copy link
Owner

@jengeb confirmed it's working on golang 1.10, I will update the README

missinglink added a commit that referenced this issue Mar 9, 2018
orangejulius added a commit to pelias/polylines that referenced this issue Mar 9, 2018
The [missinglink/pbf](https://github.com/missinglink/pbf) now requires
Go 1.9+, so upgrade to 1.10, the current latest.

Without this, Docker images fail to build

Connects missinglink/pbf#13
@jengeb
Copy link
Author

jengeb commented Mar 10, 2018

@missinglink Thank you very much for your answer. I updated golang to version 1.10 and could execute go get github.com/missinglink/pbf properly.

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