abh / geodns

DNS server with per-client targeted responses
Apache License 2.0
1.37k stars 191 forks source link

Build issue for dev branch #105

Closed AnoopAlias closed 6 years ago

AnoopAlias commented 6 years ago

Hi, I am new to go ,so not sure if what I am doing is correct .

git clone https://github.com/abh/geodns.git
cd geodns
git checkout dev
go get
go build

The final 2 commands get me this

[root@server1 geodns]# go get
go install: no install location for directory /root/geodns outside GOPATH
        For more details see: 'go help gopath'
[root@server1 geodns]# go build
# _/root/geodns
./http.go:117: cannot use zone.Metrics.Registry (type "github.com/abh/geodns/vendor/github.com/rcrowley/go-metrics".Registry) as type "github.com/rcrowley/go-metrics".Registry in assignment:
        "github.com/abh/geodns/vendor/github.com/rcrowley/go-metrics".Registry does not implement "github.com/rcrowley/go-metrics".Registry (missing GetAll method)
AnoopAlias commented 6 years ago

Probably error in how i do it

go get github.com/abh/geodns
cd ~/go/src/github.com/abh/geodns
git checkout dev
go test
go build

seem to work.

AnoopAlias commented 6 years ago

I see the dev branch is default now and go get pulls this up and build works just fine.

abh commented 6 years ago

Great, thanks!