Closed paway closed 10 years ago
Gohop need go 1.1, I guess your go version is 1.0
yea,my golang version 1.02. Now go version go1.2 linux/386, i can install but gohop can not work ether. well, it has to be go 1.1, right?
No, go 1.2 is OK, actually I'm using Go 1.2 now, can u provide the error log?
main.go:51: ERROR: invalid variable: section "server" subsection "" variable "port". thanks it's the config file problem.
I see, there's a bug in server.ini
, please fetch the latest code and try again.
i download the source and build. with default server.ini config, i get
main.go:51: ERROR: invalid variable: section "server" subsection "" variable "fixmss"
after add # before "fixmss = true" it runs!!! is there any problem?
Interesting, I cannot reproduce this.
could u provide gohop -version
?
unzip the source package go build i get "gohop-0.3.1-dev" chmod +x gohop-0.3.1-dev ./gohop-0.3.1-dev server.ini
for gohop version ./gohop-0.3.1-dev version i get " main.go:51: ERROR: open version: no such file or directory"
gohop -version
instead of gohop version
. But it's OK since I've known u're using gohop v0.3.1.
U still get "fixmss" error? Try deleting $GOPATH/pkg/github.com/bigeagle
dir and build again.
hi,your "https://github.com/bigeagle/gohop/releases/download/v0.3.1-dev/gohop.tar.bz2" works! but mine not.
it's strange and i've no idea.
~# go get github.com/bigeagle/gohop
github.com/bigeagle/gohop/hop
/usr/lib/go/src/pkg/github.com/bigeagle/gohop/hop/buffer.go:58: hb.timer.Reset undefined (type time.Timer has no field or method Reset) /usr/lib/go/src/pkg/github.com/bigeagle/gohop/hop/buffer.go:68: hb.timer.Reset undefined (type time.Timer has no field or method Reset) /usr/lib/go/src/pkg/github.com/bigeagle/gohop/hop/client.go:212: method clt.handleHandshakeAck is not an expression, must be called /usr/lib/go/src/pkg/github.com/bigeagle/gohop/hop/client.go:213: method clt.handleHandshakeError is not an expression, must be called /usr/lib/go/src/pkg/github.com/bigeagle/gohop/hop/client.go:214: method clt.handleDataPacket is not an expression, must be called /usr/lib/go/src/pkg/github.com/bigeagle/gohop/hop/client.go:215: method clt.handleDataPacket is not an expression, must be called /usr/lib/go/src/pkg/github.com/bigeagle/gohop/hop/client.go:216: method clt.handleFinishAck is not an expression, must be called /usr/lib/go/src/pkg/github.com/bigeagle/gohop/hop/iface.go:116: undefined: bufio.NewScanner /usr/lib/go/src/pkg/github.com/bigeagle/gohop/hop/iface.go:117: undefined: bufio.ScanWords /usr/lib/go/src/pkg/github.com/bigeagle/gohop/hop/server.go:216: method srv.handleKnock is not an expression, must be called /usr/lib/go/src/pkg/github.com/bigeagle/gohop/hop/server.go:216: too many errors