skynetservices / skydns1

DNS for skynet or any other service discovery
MIT License
528 stars 54 forks source link

Build problems #87

Closed pyotr777 closed 10 years ago

pyotr777 commented 10 years ago

I am new to Go. I downloaded SkyDNS source, set GOPATH. Inside the directory with source files I run:

go get -d -v ./... && go build -v ./...

What I get is a number of errors:

github.com/codegangsta/cli (download)
github.com/miekg/dns
_/skydns/msg
github.com/skynetservices/skydns/msg
code.google.com/p/gogoprotobuf/proto
# github.com/skynetservices/skydns/msg
/go/src/github.com/skynetservices/skydns/msg/service.go:68: method err.Error is not an expression, must be called
github.com/gorilla/context
# _/skydns/msg
msg/service.go:68: method err.Error is not an expression, must be called
github.com/rcrowley/go-metrics
github.com/gorilla/mux
github.com/influxdb/influxdb-go
github.com/stathat/go
github.com/codegangsta/cli
# github.com/miekg/dns
/go/src/github.com/miekg/dns/tsig.go:249: undefined: hmac.Equal
# github.com/rcrowley/go-metrics
/go/src/github.com/rcrowley/go-metrics/debug.go:19: undefined: debug.GCStats
/go/src/github.com/rcrowley/go-metrics/debug.go:42: undefined: debug.ReadGCStats
github.com/goraft/raft/protobuf
github.com/goraft/raft
# github.com/goraft/raft
/go/src/github.com/goraft/raft/http_transporter.go:57: t.Transport.ResponseHeaderTimeout undefined (type *http.Transport has no field or method ResponseHeaderTimeout)
/go/src/github.com/goraft/raft/log.go:265: method l.entries[len(l.entries) - 1].Index is not an expression, must be called
/go/src/github.com/goraft/raft/server.go:1019: undefined: sort.Reverse

What is the right way to build skyDNS?

miekg commented 10 years ago

Mass closing comments in preparation of moving skydns2 to skydns