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

Build issues on Ubuntu 19.04 #8

Closed
jolyonbrown opened this issue Jul 18, 2019 · 4 comments
Closed

Build issues on Ubuntu 19.04 #8

jolyonbrown opened this issue Jul 18, 2019 · 4 comments
Assignees

Comments

@jolyonbrown
Copy link

jolyonbrown commented Jul 18, 2019

Hi there - just following the instructions for the Ubuntu build and seem to have come across a problem. After installing the recommended packages the make command throws out

~/wallutils$ make
go build
xrandr.go:6:2: cannot find package "github.com/fatih/color" in any of:
/usr/lib/go-1.10/src/github.com/fatih/color (from $GOROOT)
/home/jolyon/go/src/github.com/fatih/color (from $GOPATH)
collections.go:4:2: cannot find package "github.com/stretchr/powerwalk" in any of:
/usr/lib/go-1.10/src/github.com/stretchr/powerwalk (from $GOROOT)
/home/jolyon/go/src/github.com/stretchr/powerwalk (from $GOPATH)
collections.go:5:2: cannot find package "github.com/xyproto/gnometimed" in any of:
/usr/lib/go-1.10/src/github.com/xyproto/gnometimed (from $GOROOT)
/home/jolyon/go/src/github.com/xyproto/gnometimed (from $GOPATH)
x11.go:11:2: cannot find package "github.com/xyproto/imagelib" in any of:
/usr/lib/go-1.10/src/github.com/xyproto/imagelib (from $GOROOT)
/home/jolyon/go/src/github.com/xyproto/imagelib (from $GOPATH)
collections.go:6:2: cannot find package "github.com/xyproto/simpletimed" in any of:
/usr/lib/go-1.10/src/github.com/xyproto/simpletimed (from $GOROOT)
/home/jolyon/go/src/github.com/xyproto/simpletimed (from $GOPATH)
x11.go:12:2: cannot find package "github.com/xyproto/xpm" in any of:
/usr/lib/go-1.10/src/github.com/xyproto/xpm (from $GOROOT)
/home/jolyon/go/src/github.com/xyproto/xpm (from $GOPATH)
make: *** [Makefile:7: all] Error 1

Just looking to help amend the install instructions for clueless folks like me - I'm assuming I'd need to install each one of those separately?

@jolyonbrown jolyonbrown changed the title Build issues on Ubuntu 19.10 Build issues on Ubuntu 19.04 Jul 18, 2019
@xyproto
Copy link
Owner

xyproto commented Jul 18, 2019

Thanks for reporting. I assume the version of Go on Ubuntu 19.04 is too old.

I will try to reproduce the issue.

@jolyonbrown
Copy link
Author

My local go version - I'll see if bumping it up helps.

$ go version
go version go1.10.4 linux/amd64

@jolyonbrown
Copy link
Author

OK, managed to get this to build. Ditched the Ubuntu go package, downloaded the tar file from golang direct, so now using:

$ go version
go version go1.12.7 linux/amd64

Also had to install libwayland-dev and libxpm-dev to get the build to complete. Now to actually try this out!

@xyproto
Copy link
Owner

xyproto commented Jul 19, 2019

Thanks for testing! Please let me know if you encounter any issues, and I'll do my best to sort them out.

I'll add a note to the documentation that Go 1.12 or later is required.

@xyproto xyproto closed this as completed Jul 19, 2019
xyproto added a commit that referenced this issue Jul 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants