Protobuf-c-1.5.2

Introduction to Protobuf-c

The Protobuf-c package contains an implementation of the Google Protocol Buffers data serialization format in C.

[Note]

Note

This version of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable version of the System V books.

Package Information

Protobuf-c Dependencies

Required

Protobuf-33.5

Optional

Doxygen-1.16.1

Installation of Protobuf-c

Install Protobuf-c by running the following commands:

./configure --prefix=/usr --disable-static &&
make -j1

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

--disable-static: This switch prevents installation of static versions of the libraries.

Contents

Installed Programs: protoc-gen-c and protoc-c (symlinked to protoc-gen-c)
Installed Libraries: libprotobuf-c.so
Installed Directories: /usr/include/google and /usr/include/protobuf-c

Short Descriptions

protoc-c

generates C descriptor code from a .proto file

libprotobuf-c.so

contains a C implementation of the Google Protocol Buffers data serialization format