How to install go and goisntall on ubuntu for doozer install -


i using ubuntu 10.04 , 12.04.

i tryig install doozer , doozed , having hard time dealing go isntall. need make chef recipe install.

the directions installing doozer follows:

goinstall github.com/ha/doozer 

how goinstall?

edit: using go 1.0.2 , go install, following output:

github.com/ha/doozer # github.com/ha/doozer /usr/local/go/src/pkg/github.com/ha/doozer/conn.go:184: cannot use &t.req (type *request) type proto.message in function argument: *request not implement proto.message (missing protomessage method) /usr/local/go/src/pkg/github.com/ha/doozer/conn.go:198: cannot use &r (type *response) type proto.message in function argument: *response not implement proto.message (missing protomessage method) /usr/local/go/src/pkg/github.com/ha/doozer/conn.go:294: undefined: proto.getint64 /usr/local/go/src/pkg/github.com/ha/doozer/conn.go:326: undefined: proto.getint64 /usr/local/go/src/pkg/github.com/ha/doozer/conn.go:412: undefined: proto.getint32 /usr/local/go/src/pkg/github.com/ha/doozer/conn.go:412: undefined: proto.getint64 /usr/local/go/src/pkg/github.com/ha/doozer/err.go:33: cannot call non-function proto.getstring (type struct {}) /usr/local/go/src/pkg/github.com/ha/doozer/msg.pb.go:127: cannot use (type *request) type proto.message in function argument: *request not implement proto.message (missing protomessage method) /usr/local/go/src/pkg/github.com/ha/doozer/msg.pb.go:142: cannot use (type *response) type proto.message in function argument: *response not implement proto.message (missing protomessage method) 

the doozer , doozerd packages use old, obsolete version of go. current version, go 1, source code:

go -v github.com/ha/doozer go -v github.com/ha/doozerd 

upgrade source code go 1 , use go install:

go install -v github.com/ha/doozer go install -v github.com/ha/doozerd 

also, pretty.go has been renamed pretty:

see command go.


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -