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 problems #1

Closed
wikimatze opened this issue Jun 1, 2014 · 5 comments
Closed

Installation problems #1

wikimatze opened this issue Jun 1, 2014 · 5 comments

Comments

@wikimatze
Copy link

The dist directory doesn't contain any files :) and building it from source gives me the following error:

go build -o dist/sack main.go
main.go:4:5: cannot find package "github.com/zph/go-sack/sack" in any of:
    /home/wm/gosource/src/pkg/github.com/zph/go-sack/sack (from $GOROOT)
    ($GOPATH not set)
make: *** [build] Error 1

Since I'm new to go, I can only run "hello world" in it.

@zph
Copy link
Owner

zph commented Jun 1, 2014

oh no!

I'm puzzled by the dist folder, did you pull the most recent copy of code? (I made a location change between when I tweeted and now).

I'll think about what's going on w/ the rest of it...

Are you trying to build for Linux/Mac/other? (I can build multiple variants and keep them in dist for easier access for users).

@zph
Copy link
Owner

zph commented Jun 1, 2014

Guess it's time for me to learn about dependency management in go also, so ppl can build on their own systems!!! :)

@wikimatze
Copy link
Author

Linux of course :), yeah I played around with Go and dependency management but I find a simple gem install much easier.

Anyway, thanks for taking care of this issue.

@zph
Copy link
Owner

zph commented Jun 1, 2014

Just for you: https://github.com/zph/go-sack/raw/master/dist/sack.linux_amd64

That's the binary compiled for linux amd64 :).

I like Ruby, but it's really nice how golang rolls all the dependencies into a single bin that doesn't need any external interpreter to run!! It's amazing 👍.

@wikimatze
Copy link
Author

Thanks for the effort, I managed to install it now.

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