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

Compile from source on MacOS #118

Closed
perguth opened this issue Mar 27, 2017 · 2 comments
Closed

Compile from source on MacOS #118

perguth opened this issue Mar 27, 2017 · 2 comments

Comments

@perguth
Copy link

perguth commented Mar 27, 2017

Following the compile from source instructions on MacOS Sierra (Golang 1.8 was installed via Homebrew - no manual GOPATH or GOROOT configuration set) I ran into the following error:

$ go run cmd/tusd/main.go
cmd/tusd/main.go:4:2: cannot find package "github.com/tus/tusd/cmd/tusd/cli" in any of:
	/usr/local/Cellar/go/1.8/libexec/src/github.com/tus/tusd/cmd/tusd/cli (from $GOROOT)
	/Users/per/go/src/github.com/tus/tusd/cmd/tusd/cli (from $GOPATH)
@perguth
Copy link
Author

perguth commented Mar 27, 2017

Fixed by running go get github.com/tus/tusd/cmd/tusd/cli

@Acconut
Copy link
Member

Acconut commented Mar 27, 2017

It's not uncommon for people to get the installation wrong, mostly because Golang has a more unconventional setup structure. However, I am glad to see that you got it working but I will revisit our instructions anyhow.

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