1. 程式人生 > >centos 安裝google protobuf

centos 安裝google protobuf

2012-03-29

http://abloz.com

author:ablozhou date:2012.3.29

環境 cat /etc/redhat-release CentOS release 5.5 (Final) 下載 wget http://protobuf.googlecode.com/files/protobuf-2.4.1.tar.bz2 tar -jxvf protobuf-2.4.1.tar.bz2

編譯安裝 [[email protected] ~]$ cd protobuf-2.4.1 [[email protected] protobuf-2.4.1]$ [[email protected]

protobuf-2.4.1]$ ./configure & make [[email protected] protobuf-2.4.1]# make install

安裝python版的protobuf [[email protected] protobuf-2.4.1]# cd python [[email protected] python]# python setup.py build [[email protected] python]# python setup.py install

參考 http://code.google.com/p/protobuf/

如非註明轉載, 均為原創. 本站遵循知識共享CC協議,轉載請註明來源