Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux protobuf-c     - MySQL Tutorial: Philosophical Reflections on the unauthenticated user (Database)

- Some practical tips Linux (Linux)

- Free compiler install MySQL-5.6.14 (Database)

- Oracle 11g RAC automatically play GI PSU patch (11.2.0.4.8) (Database)

- The most concise explanation of JavaScript closures (Programming)

- Linux using DenyHosts prevents ssh cracks (Linux)

- Elasticsearch 2.20 Highlight (Server)

- How to install the NVIDIA 358.16 driver in Ubuntu 15.10,14.04 (Linux)

- AFNetworking + Nginx HTTPS communication server + (Server)

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

- Hadoop safe hftp (Server)

- HTML5 Application Cache (Programming)

- CentOS 7.1 install NTFS-3G (Linux)

- Log4j configuration file Explanation (Linux)

- How to manage and use Logical Volume Management LVM in Ubuntu (Linux)

- OpenGL Superb Learning Notes - Vertex Shader example (Programming)

- Echo Command Examples (Linux)

- Will Laravel become the most successful PHP framework? (Programming)

- Linux command execution order control and pipeline (Linux)

- Mac OS X systems create Ubuntu USB boot disk for the Mac (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:      
 
- Linux firewall to prevent external network attacks (Linux)
- Build the first ASP.NET 5 Web project in Mac OS X Yosemite 10.10.3 (Server)
- Node.js development environment deployment (Server)
- Each catalog Detailed Linux (Linux)
- Experts teach you how to identify the actual functional differences between the firewall (Linux)
- Oracle can not change the tablespace to backup mode in non-archive mode (Database)
- Oracle online redefinition (Database)
- TOAST function in PostgreSQL (Database)
- The difference between statement and preparedStatement of the jdbc (Database)
- Bash How to read a file line by line (Programming)
- Several Ceph performance optimization of new methods and ideas (2015 SH Ceph Day after flu reference) (Server)
- Ubuntu install Avast antivirus software (Programming)
- 10 Nginx safety tips (Linux)
- Build their own recursive DNS server (Server)
- RedHat Linux 6.5 Enterprise Edition installation Redis 3.0.3 (Database)
- C # dynamic class notes --- (Dynamic) Applications (Programming)
- Build Nginx + uWSGI + Flask operating environment under CentOS 6.4 tutorial (Server)
- JavaScript: understanding regular expressions (Programming)
- Ubuntu 14.04, 13.10 install OpenCV 2.4.9 (Linux)
- 12 kinds of detection of CPU information on a Linux system tools (Linux)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.