aristanetworks / goarista

Fairly general building blocks used in Arista Go code and open-sourced for the benefit of all.
Apache License 2.0
213 stars 68 forks source link

go get github.com/aristanetworks/goarista/cmd/gnmi failing #44

Closed ragagit closed 5 years ago

ragagit commented 5 years ago

Hi

Getting gnmi with go get github.com/aristanetworks/goarista/cmd/gnmi fails with

Screen Shot 2019-07-24 at 3 51 03 PM

protoc --version is libprotoc 3.7.1

aaronbee commented 5 years ago

Your github.com/golang/protobuf/proto dependency is out of date. I believe the following will update all the of gnmi's dependencies for you:

go get -u github.com/aristanetworks/goarista/cmd/gnmi

If that doesn't fix it then you can manually update the proto dependency:

go get -u github.com/golang/protobuf/proto

And then try to get gnmi again.

ragagit commented 5 years ago

Yeah, I tried that a few times but didn't help. What I ended up doing was to get the code and compile gnmi, that works, now I can use the command.Thanks for your prompt reply I appreciate that.