Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Linux protobuf-c     - Eclipse 3.7.2 can not start solving under Ubuntu 14.04 (Linux)

- Ubuntu amend resolv.conf restart failure problem (Linux)

- Several start-up mode of Tomcat (Server)

- Linux smart small switch rfkill (Linux)

- Change all child files and subdirectories in the owner permissions Ubuntu (Linux)

- How to Install terminator 0.98 on Ubuntu and Linux Mint (Linux)

- Linux Mint 17.2 64 bit installation Docker and management software seagull (Linux)

- Security matters and practical Linux System (Linux)

- The security configuration of Linux (Linux)

- Elaborate .NET Multithreading: Concepts (Programming)

- Oracle 11g can not export a variety of empty table solution (Database)

- Linux md5sum verify file integrity (Linux)

- Linux system file directory structure Introduction (Linux)

- Go constructed using an interpreted language (Programming)

- Linux kernel RCU (Read Copy Update) lock Brief - prequel (Linux)

- To configure and use multiple Tomcat under Linux environment (Server)

- Linux account management add relevant directives (Linux)

- Linux virtual machine how to access the Internet in a virtual machine when using NAT mode (Linux)

- Why is better than Git SVN (Linux)

- MySQL use the integer type (Database)

  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
- About Linux iptables firewall interview questions and answers (Linux)
- The difference between VMware virtual machine network mode (Linux)
- Understanding the Linux load average on other UNIX-Like systems (Linux)
- Binary search and modification (Programming)
- Effect MongoDB plan cache (Database)
- Linux System Tutorial: Fix ImportError: No module named wxversion error (Linux)
- Linux operating system security settings initial understanding (Linux)
- CentOS 6.4 under PXE + Kickstart unattended operating system installation (Programming)
- CentOS7 virtual machine starts appear Permission denied (Linux)
- Use ISO document production OpenStack used CoreOS mirror (Linux)
- Chrome plug-in management, online-offline installation, part of the plug presentations (Linux)
- Oracle table space usage monitoring (Database)
- Linux Security trust with users (Linux)
- How to use the TF / SD card making Exynos 4412 u-boot boot disk in Ubuntu (Linux)
- iscsiadm command usage (Linux)
- Linux compiler of GCC (Linux)
- VMware Workstation virtual machine cloning (Linux)
- How to improve the performance of Ruby On Rails (Linux)
- The direct insertion sort algorithm (Programming)
- 64-bit Windows Server 2012 R2 install Oracle 10g Second Edition (Database)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.