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

Cant' build consul - make: *** [deps] Error 1 #774

Closed
adubkov opened this issue Mar 10, 2015 · 2 comments
Closed

Cant' build consul - make: *** [deps] Error 1 #774

adubkov opened this issue Mar 10, 2015 · 2 comments

Comments

@adubkov
Copy link

adubkov commented Mar 10, 2015

While I trying build consul I have error with one of dependencies:

package github.com/armon/circbuf
    imports github.com/armon/go-metrics
    imports github.com/prometheus/client_golang/prometheus
    imports bitbucket.org/ww/goautoneg: exec: "hg": executable file not found in $PATH

I don't know how to handle that.

Full build log:

[root@localhost src]# git clone https://github.com/hashicorp/consul.git $GOPATH/src/github.com/hashicorp/consul
Initialized empty Git repository in /opt/golang/src/github.com/hashicorp/consul/.git/
remote: Counting objects: 13687, done.
remote: Compressing objects: 100% (75/75), done.
remote: Total 13687 (delta 40), reused 0 (delta 0), pack-reused 13612
Receiving objects: 100% (13687/13687), 7.87 MiB | 2.46 MiB/s, done.
Resolving deltas: 100% (9902/9902), done.
[root@localhost src]#
Display all 1476 possibilities? (y or n)
[root@localhost src]#
[root@localhost src]# cd github.com/hashicorp/consul/
[root@localhost consul]# rm -rf .git
[root@localhost consul]# make
--> Installing build dependencies
github.com/armon/circbuf (download)
github.com/armon/go-metrics (download)
github.com/prometheus/client_golang (download)
bitbucket.org/ww/goautoneg (download)
go: missing Mercurial command. See http://golang.org/s/gogetcmd
package github.com/armon/circbuf
    imports github.com/armon/go-metrics
    imports github.com/prometheus/client_golang/prometheus
    imports bitbucket.org/ww/goautoneg: exec: "hg": executable file not found in $PATH
github.com/beorn7/perks (download)
github.com/golang/protobuf (download)
github.com/matttproud/golang_protobuf_extensions (download)
github.com/prometheus/client_model (download)
github.com/prometheus/procfs (download)
github.com/armon/go-radix (download)
github.com/armon/gomdb (download)
github.com/hashicorp/golang-lru (download)
github.com/hashicorp/hcl (download)
github.com/hashicorp/go-multierror (download)
github.com/hashicorp/go-msgpack (download)
github.com/hashicorp/memberlist (download)
github.com/hashicorp/raft (download)
github.com/hashicorp/raft-mdb (download)
github.com/hashicorp/serf (download)
github.com/hashicorp/yamux (download)
github.com/inconshreveable/muxado (download)
github.com/hashicorp/go-checkpoint (download)
github.com/hashicorp/go-syslog (download)
github.com/hashicorp/logutils (download)
github.com/hashicorp/scada-client (download)
github.com/hashicorp/net-rpc-msgpackrpc (download)
github.com/miekg/dns (download)
github.com/mitchellh/cli (download)
github.com/mitchellh/mapstructure (download)
github.com/ryanuber/columnize (download)
make: *** [deps] Error 1
@adubkov adubkov changed the title Cant' build go - make: *** [deps] Error 1 Cant' build consul - make: *** [deps] Error 1 Mar 10, 2015
@adubkov adubkov closed this as completed Mar 10, 2015
@adubkov
Copy link
Author

adubkov commented Mar 10, 2015

just installed mercurial

@hustbill
Copy link

hustbill commented Aug 6, 2015

Your post fixed my same issue. Thanks.

install mercurial by the command in OSx
brew install mercurial

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