Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Can not build using glide #27

Closed
ramilexe opened this issue Feb 17, 2017 · 4 comments
Closed

Can not build using glide #27

ramilexe opened this issue Feb 17, 2017 · 4 comments

Comments

@ramilexe
Copy link
Contributor

Run follow commands:

go get github.com/Masterminds/glide
go get -d github.com/tendermint/ethermint
cd /go/src/github.com/tendermint/ethermint
glide install
cd cmd/ethermint/
go build

and get error:

../../ethereum/node.go:21: cannot use ctx (type *"github.com/tendermint/ethermint/vendor/gopkg.in/urfave/cli.v1".Context) as type *"github.com/tendermint/ethermint/vendor/github.com/ethereum/go-ethereum/vendor/gopkg.in/urfave/cli.v1".Context in argument to utils.MakeDataDir

I am building using glide but in your docs and Dockerfile you just do
go get github.com/tendermint/ethermint/cmd/ethermint

Why do you have glide.lock if you don't use it?

@ebuchman
Copy link
Member

We decided to check in the vendor folder for now to ease install for users. Once we start publishing binaries for ethermint, we will remove it and use glide properly again.

@adrianbrink
Copy link

Oh, this is good to know :-) thank @ramilexe

@ltzmaxwell
Copy link

use glide install -v simply to remove nested vendor , will be working good.

@ramilexe
Copy link
Contributor Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants