1. Download Protobuf
地址为: https://github.com/google/protobuf
$ git clone https://github.com/google/protobuf.git
2. Install automake
$ brew install automake
$ brew install libtool
3. Run autogen.sh
$ ./autogen.sh
4. Install Protobuf
$ ./configure
$ make check
$ make
$ make install