Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

unrecognized syntax identifier "proto3". This parser only recognizes "proto2" on Linkerd

I have cloned linkerd (https://github.com/linkerd) repo on my linux ubuntu, and installed protoc, version 2.5. When I try to compile the linkerd using the following command I get the error "unrecognized syntax identifier "proto3". This parser only recognizes "proto2".

command: ./sbt linkerd/compile

like image 978
zillani Avatar asked Mar 02 '17 05:03

zillani


1 Answers

You need to install protoc version 3.x to compile proto3 files. Version 2.5 is over four years old.

Many distros have Protobuf packages available for easy installation, or you can install from source as described here: https://github.com/google/protobuf/blob/master/src/README.md

like image 190
Kenton Varda Avatar answered Oct 17 '22 12:10

Kenton Varda