Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Linux protobuf-c     - Vim useful plugin: YouCompleteMe (Linux)

- Configuring a Linux operating system security management services Explain (Linux)

- Production environment Linux bonding method standby mode slave card switch (Server)

- A custom implementation of the Android sidebar (Programming)

- Thinking in Java study notes - Access modifiers (Programming)

- Zabbix using Omsa monitor hardware information of Dell server (Server)

- MongoDB, Cassandra, HBase transaction design strategy (Database)

- LAN Deployment Docker-- from scratch to create your own private warehouse Docker (Linux)

- How to Install Sticky Notes on Ubuntu and Derivatives (Linux)

- 7 JavaScript interview questions (Programming)

- Docker: installation under Ubuntu (Server)

- Linux top command to get started (Linux)

- Btrfs file system repair techniques (Linux)

- Linux atomic operations and synchronization mechanisms (Programming)

- Linux log management make the system more secure (Linux)

- Oracle JDK installation under Ubuntu Linux (Linux)

- A command to install Sublime Text 3 on Manjaro / Archlinux (Linux)

- Using Linux strace command trace / debug a program commonly used options (Linux)

- SUSE Firewall Configuration (Linux)

- RedHat Linux 7 build yum source server (Server)

  Linux protobuf-c
  Add Date : 2018-11-21      
Recently the need to use Google Protocol Buffer out to do some of the services communicate with each other, since the Protocol Buffer no native support for C, use only protobuf-c of this third-party libraries, with the Internet nor the complete installation, it recorded.

What Protocol Buffer that?
Protocol Buffer is a language-independent, platform-independent, scalable, and for serializing structured data communication protocol method, the stored data. Like XML, but it is smaller, faster and easier. You can define your own data structure, and then use the code generator generates code to read and write this data structure.

Installation protobuf
Since protobuf-c is not yet supported by the latest version of protobuf 2.4.1, so we need to install a supported version 2.3.0. Installation steps are as follows:

wget http://protobuf.googlecode.com/files/protobuf-2.3.0.tar.gz
tar zxvf protobuf-2.3.0.tar.gz
cd protobuf-2.4.1
./configure --prefix = / usr /
sudo make install
/ Sbin / ldconfig -v

The last command is particularly important, do not forget, time or install protobuf-c will be reported to the shared library path error


Installation protobuf-c
Follow the steps below to install protobuf-c's.

wget http://protobuf-c.googlecode.com/files/protobuf-c-0.15.tar.gz
tar zxvf protobuf-c-0.15.tar.gz
cd protobuf-c-0.15
./configure --prefix = / usr /
sudo make install
Test protobuf-c
Run the following command, no error is generated to view the next file.

cd ..
protoc-c --c_out =. / protobuf-c-0.15 / src / test / test.proto
- IBM Data Studio to create objects using ---- double quotes / sensitive issues and the table / column renaming (Database)
- Sublime Text 3 (Linux)
- Ubuntu 12.04 64-bit installation Redmine + Git + ReviewBoard (Linux)
- CentOS 7 How to install MySQL Server (Database)
- Android using SVG vector graphics to create cool animation effects (Programming)
- Java synchronization mechanism used in locking Thought (Programming)
- Use eCryptFS encrypt files and directories on Linux (Linux)
- a virtual machine created migrated to host RHEL6.4 on Ubuntu 14.04 (Linux)
- RM Environment Database RMAN Backup Strategy Formulation (Database)
- Differential test piece using MongoDB performance YCSB (Database)
- Fedora 21 setting boot script (Linux)
- Ubuntu modify DNS restart loss problem (Linux)
- Hadoop 2.7.1 installation configuration based on availability QJM (Server)
- To install Scribus 1.4.4 under ubuntu (Linux)
- Android 5.1 OTA package compilation error (Programming)
- How to build Mono 3.4.0 / 3.4.1 on Windows (Linux)
- I like Linux Security (Linux)
- Linux installation skynet issue summary (Linux)
- Linux command binlog by filtering out the complete SQL statement (Database)
- Getting Started with Linux system to learn: how to check in a package is installed on Ubuntu (Linux)
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.