Ubuntu 14.04 下 安装Protocol Buffers

时间:2023-03-09 04:11:15
Ubuntu 14.04 下 安装Protocol Buffers

参考:

Protocol Buffers - Google's data interchange format

Ubuntu 14.04 下 安装Protocol Buffers

环境

Ubuntu 14.04, 64bit.

依赖安装

$ sudo apt-get install autoconf automake libtool curl make g++ unzip

Install Protobuf

$ ./autogen.sh

$ ./configure

$ make

$ make check
============================================================================
Testsuite summary for Protocol Buffers 3.3.0
============================================================================
# TOTAL: 7
# PASS: 7
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================
$ sudo make install

$ sudo ldconfig # refresh shared library cache.

2017.5.13