Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Linux protobuf-c     - Using a proxy method under Linux terminal (Linux)

- Ubuntu Apache virtual host configuration (Server)

- Household use Linux Security (Linux)

- Installation Sublime Text 3 (Build 3065) text editor in Ubuntu (Linux)

- Ubuntu iptables prevent IP attacks (Linux)

- Linux user groups, file permissions Detailed (Linux)

- Help you enhance Python programming languages 27 (Programming)

- Linux environment variable settings and save places (Linux)

- Linux Network Analysis Tcpdump Command Guide (Linux)

- Linux system security knowledge (Linux)

- Ease of use "Explain Shell" script to understand Shell command (Linux)

- awk pattern matching (Programming)

- How to use the command line ftp upload and download files (Linux)

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

- Java interface and inheritance (Programming)

- Build the first ASP.NET 5 Web project in Mac OS X Yosemite 10.10.3 (Server)

- Enterprise Hadoop cluster architecture - NFS installation (Server)

- Linux Network Programming - signal blocking and shielding (block, unblock) (Programming)

- How to publish projects to the Jcenter repository using Gradle in Android Studio (Programming)

- Quickly build and install Linux KVM system (Linux)

  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
- Configuring the remote Linux server SSH key authentication to automatically login in Mac OS X (Server)
- Understand ASP.NET 5 running the command: DNVM, DNX, and DNU (Server)
- How to create an alternative Android / iOS connected wireless hotspot AP in Ubuntu 15.04 (Linux)
- Linux network monitoring tools ntopng installation (Linux)
- MySQL main and backup replication structures (using mysqld_multi) (Database)
- Linux System Getting Started tutorial: Ubuntu desktop using the command line to change the system proxy settings (Linux)
- Linux Timing task Crontab command Detailed (Linux)
- C # Future: Method Contract (Programming)
- Bash common several configuration files (Linux)
- Oracle 11g to create a second instance on Linux (Database)
- Oracle 12c PDB Analysis (Database)
- Using Java arrays implement sequential stack (Programming)
- HBase vs Oracle (Database)
- KVM virtualization of nested virtualization (Linux)
- C # and JavaScript arrays to re-summary (Programming)
- Understand the security restore accidentally deleted critical system files (Linux)
- Ubuntu 14.04 install the NVIDIA driver + CUDA + MATLAB (Linux)
- Five useful commands to manage file types and system time in linux (Linux)
- Ubuntu download install and configure Plank Dock (Linux)
- Mac OS X system setup Google Go language development environment configuration tool Sublime Text 2 (Linux)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.