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

Installation does not complete on Ubuntu 19.04 #166

Closed
jedipunkz opened this issue May 9, 2019 · 2 comments
Closed

Installation does not complete on Ubuntu 19.04 #166

jedipunkz opened this issue May 9, 2019 · 2 comments

Comments

@jedipunkz
Copy link

Installation with 'go get' does not complete on Ubuntu Server 19.04.

My environments are ...

$ go version
go version go1.10.4 linux/amd64
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 19.04
Release:        19.04
Codename:       disco

This is how to install ghq with 'go get'

go get github.com/motemen/ghq
# github.com/motemen/ghq
go/src/github.com/motemen/ghq/local_repository.go:265:19: undefined: os.UserHomeDir

Anyidea do you have?

@nasa9084
Copy link

nasa9084 commented May 9, 2019

since v0.10.0, ghq is using os.UserHomeDir which is introduced at Go 1.12 so you cannot build newest ghq with Go 1.10.
if you want to install with go get, you need to update Go to 1.12.
or if you do not mind, you can download pre-built binary from releases page.

@jedipunkz
Copy link
Author

Thanks for you notify.
I downloaded built-binary and got it worked perfectly.

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