Skip to content

Instantly share code, notes, and snippets.

@jambonn
Last active April 27, 2021 16:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jambonn/b6a7e0ad5e71aa77b6f50134e31a3099 to your computer and use it in GitHub Desktop.
Save jambonn/b6a7e0ad5e71aa77b6f50134e31a3099 to your computer and use it in GitHub Desktop.
Installing the Protobuf Compiler on a Mac
1. Download the appropriate release here:
https://github.com/protocolbuffers/protobuf/releases/tag/v3.5.1 <protobuf-all-3.5.1.tar.gz>
2. Unzip the folder
3. Enter the folder and run ./autogen.sh && ./configure && make
4. If you run into this error: autoreconf: failed to run aclocal: No such file or directory, run brew install autoconf && brew install automake. And run the command from step 3 again.
5. Then run these other commands. They should run without issues
$ make check
$ sudo make install
$ which protoc
$ protoc --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment