之后需要安装brew
[非root]
brew install autoconf[need to across the great wall and reach the bigger world]
brew install automake
brew install libel
[root]
sudo ./autogen.sh
./configure(先autogen.sh才有,如果没有权限chmod +x configure)
make
make check
make install
2.遇到问题:
[libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax specified for the proto file: yzh-proto/yzh.proto. Please use ‘syntax = "proto2";‘ or ‘syntax = "proto3";‘ to specify a syntax version. (Defaulted to proto2 syntax.)
4.object c
http://www.cnblogs.com/uniy/archive/2011/12/21/2296405.html
http://www.kelvinkaodev.com/blog/2010/08/compiling-the-protocol-buffer-compiler-for-objective-c/