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

No gobuilder #13

Closed
dignifiedquire opened this issue Dec 1, 2015 · 8 comments
Closed

No gobuilder #13

dignifiedquire opened this issue Dec 1, 2015 · 8 comments

Comments

@dignifiedquire
Copy link
Member

Trying to get this running it fails for me as I do not have gobuilder setup, and I'm not sure how to go about that. Can we get rid of that as there is already a todo in the code?

bin/gobuilder-cli: bin
    #TODO: make this not require a go compiler...
    go get github.com/Luzifer/gobuilder/cmd/gobuilder-cli
    cp $(gbcli) bin/gobuilder-cli

cc @jbenet @whyrusleeping

@whyrusleeping
Copy link
Member

what is the output that this fails with?

@Luzifer
Copy link
Member

Luzifer commented Dec 1, 2015

If no gobuilder-cli is available on the system $(gbcli) will be empty and the cp will fail. The variable is filled way before the go get.

@dignifiedquire
Copy link
Member Author

als @Luzifer said, cp bin/gobuilder-cli fails and prints usage instructions for cp 😆

@jbenet
Copy link
Member

jbenet commented Dec 2, 2015

Can we get rid of that as there is already a todo in the code?

we can't get rid of it-- we need it to install the other needed tools. for now, get it by running

go get -u github.com/Luzifer/gobuilder/cmd/gobuilder-cli
# afterwards, this should work:
make bin/gobuilder-cli

We could use ipget to install gobuilder-cli or even everything else.

@Luzifer would you be willing to run an ipfs node with gobuilder and add the bins to ipfs + expose the links? we could then pin our own things, save you bandwidth, and people can download with ipget which auto-verifies checksums.

@jbenet
Copy link
Member

jbenet commented Dec 2, 2015

@dignifiedquire if you don't have go, you can download it from here: https://gobuilder.me/github.com/Luzifer/gobuilder/cmd/gobuilder-cli

@Luzifer maybe make a shell-based install for gobuilder-cli?

@jbenet
Copy link
Member

jbenet commented Dec 2, 2015

@dignifiedquire
Copy link
Member Author

I figured out what the problem was.. I put all my PATH config into .zshrc and it turns out if I run make it does not know about those even though it's executed from zsh. So even though everything was installed it didn't find it :( But I got it working now by copying the go path configs into .bash_profile

@dignifiedquire
Copy link
Member Author

Closing in favor of #16

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

4 participants