Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux protobuf-c     - Linux System Getting Started Learning: Linux common log file (Linux)

- Analysis of potential problems through custom Orabbix monitoring Oracle (Database)

- Try debugfs restore the deleted files ext3 file system (Linux)

- Make Windows boot disk to install USB in Ubuntu Linux (Linux)

- SSH automatic disconnection problem solving (Linux)

- Thinking in Java study notes - initialization and cleanup (Programming)

- The basic principles for the protection of a good linux server security (Linux)

- Install and use automated tools Ansible in CentOS 7 (Linux)

- FPM quickly create packages with RPM (Linux)

- An example of troubleshooting of embedded Linux OpenWRT (Linux)

- Jump table (skiplist) of code (Programming)

- Use custom backup plans for Debian backupninja (Linux)

- ActiveMQ5.10.2 version configuration JMX (Linux)

- MySQL Server Time Synchronization Problem (Database)

- MySQL database under Linux to achieve automatic backup scheduled backup day (Database)

- UNIX file permissions in the "set user ID bit" (Linux)

- Oracle Linux 6.4 installed Oracle 11gR2 + RAC + ASM (Database)

- Oracle database online redo logs are several methods of recovery of deleted (Database)

- Several Ceph performance optimization of new methods and ideas (2015 SH Ceph Day after flu reference) (Server)

- Top command: the Task Manager under linux (Linux)

 
         
  Linux protobuf-c
     
  Add Date : 2018-11-21      
         
         
         
  Foreword
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 /
make
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 /
make
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
     
         
         
         
  More:      
 
- Detailed iptables (Linux)
- Deploy OpenStack Juno on Ubuntu 14.04 (Linux)
- Distributed File System using MogileFS (Linux)
- Linux System Tutorial: Ubuntu on the desktop is disabled by default keyring to unlock tips (Linux)
- Making Linux root file system problems on-link library (Programming)
- C ++ 11 feature: auto keyword (Programming)
- Ubuntu Series Installation Docker (Linux)
- Summary of Docker mounted directory (Server)
- To install Ganglia configuration of experience under CentOS 5.5 (Linux)
- Use ldap implement Windows Remote Desktop Ubuntu Linux (Linux)
- Linux memory management -free learning experience (Linux)
- Ubuntu 15.04 installed JDK and configured as the default JDK (Linux)
- Installation and Configuration JDK8 In CentOS 7 (Linux)
- Python object-oriented programming (Programming)
- Install the latest development version of Wine on RedHat and Debian-based systems (Linux)
- Vagrant Getting Start (Linux)
- Java multi-threaded shared communications variables (Programming)
- CentOS set up FTP server (Server)
- Use install_updates upgrade GAMIT / GLOBK (Linux)
- Java implementation chain store binary search tree (recursive method) (Programming)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.