gogo / letmegrpc

[maintainer wanted] generates a web form gui from a grpc specification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

install failed

joeblew99 opened this issue · comments

on OSX, go 1.5.1

i used the deps.sh to install. The git-anchor technique looks cool solution. But i think i hit some snaffu's


(cd ./src/github.com/gogo/letmegrpc && make install)
go install -v ./...
github.com/gogo/protobuf/proto
golang.org/x/net/context
golang.org/x/net/internal/timeseries
google.golang.org/grpc/codes
google.golang.org/grpc/grpclog
github.com/bradfitz/http2/hpack
google.golang.org/grpc/credentials
golang.org/x/net/trace
google.golang.org/grpc/metadata
github.com/bradfitz/http2
github.com/gogo/letmegrpc/testcmd
google.golang.org/grpc/transport
github.com/gogo/protobuf/protoc-gen-gogo/descriptor
google.golang.org/grpc
github.com/gogo/protobuf/gogoproto
github.com/gogo/protobuf/protoc-gen-gogo/plugin
github.com/gogo/letmegrpc/letmetestserver/serve
github.com/gogo/letmegrpc/test
github.com/gogo/letmegrpc/testproto2
github.com/gogo/protobuf/protoc-gen-gogo/generator
# github.com/gogo/letmegrpc/letmetestserver/serve
letmetestserver/serve/serve.pb.go:269: cannot use _Label_Produce_Handler (type func(interface {}, context.Context, func(interface {}) error) (interface {}, error)) as type grpc.methodHandler in field value
letmetestserver/serve/serve.pb.go:273: cannot use _Label_Loop_Handler (type func(interface {}, context.Context, func(interface {}) error) (interface {}, error)) as type grpc.methodHandler in field value
# github.com/gogo/letmegrpc/test
test/grpc.pb.go:303: cannot use _MyTest_UnaryCall_Handler (type func(interface {}, context.Context, func(interface {}) error) (interface {}, error)) as type grpc.methodHandler in field value
# github.com/gogo/letmegrpc/testproto2
testproto2/proto2.pb.go:355: cannot use _Proto2_Produce_Handler (type func(interface {}, context.Context, func(interface {}) error) (interface {}, error)) as type grpc.methodHandler in field value
github.com/gogo/letmegrpc/form
github.com/gogo/letmegrpc/html
github.com/gogo/letmegrpc/protoc-gen-letmegrpc
make: *** [install] Error 2


should work now

sorry for the inconvenience

ok thats worked. next issues

ls
letmegrpc   pbparser    protobuf    src
gedw99-MacBook-Pro:gogo apple$ (cd ./src/github.com/gogo/letmegrpc && make install)
go install -v ./...
github.com/gogo/src/github.com/gogo/letmegrpc/form
github.com/gogo/src/github.com/gogo/letmegrpc/html
github.com/gogo/src/github.com/gogo/letmegrpc
github.com/gogo/letmegrpc/letmetestserver/serve
# github.com/gogo/letmegrpc/letmetestserver/serve
../../../../letmegrpc/letmetestserver/serve/serve.pb.go:269: cannot use _Label_Produce_Handler (type func(interface {}, context.Context, func(interface {}) error) (interface {}, error)) as type grpc.methodHandler in field value
../../../../letmegrpc/letmetestserver/serve/serve.pb.go:273: cannot use _Label_Loop_Handler (type func(interface {}, context.Context, func(interface {}) error) (interface {}, error)) as type grpc.methodHandler in field value
github.com/gogo/src/github.com/gogo/letmegrpc/letmetestserver/serve
# github.com/gogo/src/github.com/gogo/letmegrpc/letmetestserver/serve
letmetestserver/serve/serve.pb.go:187: undefined: "github.com/gogo/protobuf/proto".RegisterType
letmetestserver/serve/serve.pb.go:188: undefined: "github.com/gogo/protobuf/proto".RegisterType
letmetestserver/serve/serve.pb.go:189: undefined: "github.com/gogo/protobuf/proto".RegisterType
letmetestserver/serve/serve.pb.go:190: undefined: "github.com/gogo/protobuf/proto".RegisterType
letmetestserver/serve/serve.pb.go:191: undefined: "github.com/gogo/protobuf/proto".RegisterType
letmetestserver/serve/serve.pb.go:274: cannot use _Label_Produce_Handler (type func(interface {}, context.Context, func(interface {}) error) (interface {}, error)) as type grpc.methodHandler in field value
letmetestserver/serve/serve.pb.go:278: cannot use _Label_Loop_Handler (type func(interface {}, context.Context, func(interface {}) error) (interface {}, error)) as type grpc.methodHandler in field value
github.com/gogo/src/github.com/gogo/letmegrpc/protoc-gen-letmegrpc
github.com/gogo/src/github.com/gogo/letmegrpc/test
# github.com/gogo/src/github.com/gogo/letmegrpc/test
test/grpc.pb.go:67: undefined: "github.com/gogo/protobuf/proto".RegisterType
test/grpc.pb.go:68: undefined: "github.com/gogo/protobuf/proto".RegisterType
test/grpc.pb.go:69: undefined: "github.com/gogo/protobuf/proto".RegisterType
test/grpc.pb.go:70: undefined: "github.com/gogo/protobuf/proto".RegisterType
test/grpc.pb.go:310: cannot use _MyTest_UnaryCall_Handler (type func(interface {}, context.Context, func(interface {}) error) (interface {}, error)) as type grpc.methodHandler in field value
github.com/gogo/src/github.com/gogo/letmegrpc/testcmd
github.com/gogo/src/github.com/gogo/letmegrpc/testproto2
# github.com/gogo/src/github.com/gogo/letmegrpc/testproto2
testproto2/proto2.pb.go:296: undefined: "github.com/gogo/protobuf/proto".RegisterType
testproto2/proto2.pb.go:297: undefined: "github.com/gogo/protobuf/proto".RegisterType
testproto2/proto2.pb.go:298: undefined: "github.com/gogo/protobuf/proto".RegisterType
testproto2/proto2.pb.go:358: cannot use _Proto2_Produce_Handler (type func(interface {}, context.Context, func(interface {}) error) (interface {}, error)) as type grpc.methodHandler in field value
make: *** [install] Error 2
gedw99-MacBook-Pro:gogo apple$ letmegrpc --addr=localhost:12345 --port=8080 grpc.proto
2015/11/20 18:49:06 cannot find protoc in PATH


Maybe this is all because of this hint?

cannot find protoc in PATH

I know that. I was only suggesting to make it smoother

I think I am missing something, please explain?