Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Linux protobuf-c     - MySQL 5.6 Open full query log (Database)

- Linux based serial programming (Programming)

- How to clean up your Ubuntu 14.10 / 14.04 / 13.10 system (Linux)

- Construction of Android and iOS apps use Jenkins Automation (Programming)

- Experts teach you safety precautions Linux Sniffer (Linux)

- History and Statistics tuptime use tools to view Linux server system boot time (Server)

- xCAT line installation on CentOS 6.X (Linux)

- CentOS6 installed Tomcat (Server)

- shell script: a key optimization CentOS system (Linux)

- Oracle Incident Packaging Service (Database)

- SSH without password (Linux)

- Use Linux built-in firewall to improve network access control (Linux)

- In-depth understanding of capture Node.js garbage collection and memory leaks (Programming)

- PHP CURL get cookies simulated login (Database)

- Netcat Example (Linux)

- How Linux Log Analysis (Linux)

- MySQL multi-master-slave synchronization (Database)

- Python exception summary (Programming)

- Open MySQL slow query log (Database)

- Production environment Linux bonding method standby mode slave card switch (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
- Database start listening TNS-12537, TNS-12560 error (Database)
- Install Python 3.3.4 under CentOS 6.4 (Linux)
- Oracle and MySQL5.6 DDL comparison (Database)
- Experts teach you how to identify the actual functional differences between the firewall (Linux)
- How to avoid two Chrome icon appears in ELementary OS Freya (Linux)
- Ubuntu 13.04 configure MyEclipse 10.7 Environment (Linux)
- Git uses a small mind (Linux)
- CentOS 6.5 x86_64 system customized automated deployment (Linux)
- How to use the command line to obtain Freely RSS source on Linux (Linux)
- Virtualbox virtual machine can not copy CentOS Network (Linux)
- Swift rewrite initialize method of navigation controller class (Programming)
- Ubuntu achieve initialization iptables (Linux)
- MariaDB 10.1 and MySQL 5.7 in general performance on commodity hardware (Database)
- Linux system started to learn: how to view the Linux thread of a process (Linux)
- GitLab installation configuration notes (Linux)
- JSON data normalization (normalize) (Programming)
- How to track performance issues when using the Unity Game Development Android (Programming)
- MySQL to recover the data through binlog (Database)
- Bug tracking library after FastJson omitted the decimal point 0 (Programming)
- awk pattern matching (Programming)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.