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 err #3

Closed
konfou opened this issue Apr 15, 2017 · 2 comments
Closed

build err #3

konfou opened this issue Apr 15, 2017 · 2 comments

Comments

@konfou
Copy link

konfou commented Apr 15, 2017

Using

make deps
make

results in the following error

Building ...
cmd/dungeonfs/main.go:8:2: cannot find package "github.com/ChrisRx/dungeonfs/cmd/dungeonfs/command" in any of:
	/usr/lib/go/src/github.com/ChrisRx/dungeonfs/cmd/dungeonfs/command (from $GOROOT)
	/home/konstantinos/go/src/github.com/ChrisRx/dungeonfs/cmd/dungeonfs/command (from $GOPATH)
make: *** [Makefile:7: build] Error 1

probably because of the usage of remote import path as using

go get -u github.com/ChrisRx/dungeonfs

successfully builds a binary at $GOPATH/bin which though doesn't work.

@ChrisRx
Copy link
Owner

ChrisRx commented Apr 15, 2017

My build instructions are wrong, and I also left a main package in the project root that should probably go away (it is that empty binary that it is probably getting loaded when you use go get). See if this works for you:

go get -u github.com/ChrisRx/dungeonfs...

Which should also download the example files into your $GOPATH/src/github.com/ChrisRx/dungeonfs/examples. If it works let me know and I can correct it in the README.md!

@brannondorsey
Copy link

@ChrisRx I had the same issue as the OP and your solution worked. Thanks!

ChrisRx added a commit that referenced this issue Apr 17, 2017
@ChrisRx ChrisRx closed this as completed Apr 17, 2017
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

3 participants