ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install protobuf
貌似没啥用老老实实configure、make
brew install autoconf
brew install automake
brew install libtool
git clone -b [release_tag] https://github.com/google/protobuf.git
切换到根目录./autogen.sh
./configure --prefix=/urs/local make sudo make install
protocol --version
protoc --java_out=./ test.proto