1、从谷歌官网获取源码

protobuf-2.4.1.tar.gz

2、解压

tar -zxvf protobuf-2.4.1.tar.gz

3、配置

./configure

4、编译

make

5、安装

make install

相关文章: