[GH-ISSUE #105] Build issue for dev branch #216

Closed
opened 2026-03-01 17:24:37 +03:00 by kerem · 3 comments
Owner

Originally created by @AnoopAlias on GitHub (Feb 7, 2018).
Original GitHub issue: https://github.com/abh/geodns/issues/105

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)

Originally created by @AnoopAlias on GitHub (Feb 7, 2018). Original GitHub issue: https://github.com/abh/geodns/issues/105 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) ```
kerem closed this issue 2026-03-01 17:24:37 +03:00
Author
Owner

@AnoopAlias commented on GitHub (Feb 7, 2018):

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.

<!-- gh-comment-id:363722481 --> @AnoopAlias commented on GitHub (Feb 7, 2018): 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.
Author
Owner

@AnoopAlias commented on GitHub (Feb 12, 2018):

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

<!-- gh-comment-id:364841601 --> @AnoopAlias commented on GitHub (Feb 12, 2018): I see the dev branch is default now and go get pulls this up and build works just fine.
Author
Owner

@abh commented on GitHub (Feb 12, 2018):

Great, thanks!

<!-- gh-comment-id:364847280 --> @abh commented on GitHub (Feb 12, 2018): Great, thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/geodns#216
No description provided.