Reference: Apache Avro
git clone https://github.com/apache/avro.git
#c
cd avro
sudo apt-get install gcc cmake asciidoc source-highlight libjansson-dev
cd lang/c
mkdir build
cd build/
cmake .. -DCMAKE_INSTALL_PREFIX=$PREFIX -DCMAKE_BUILD_TYPE=RelWithDebInfo
make
make test
sudo make install
# c++
sudo apt-get install libboost-filesystem-dev libboost-system-dev libboost-program-options-dev libboost-iostreams-dev g++ flex bison libboost-dev cmake
cd lang/c++
cmake -G "Unix Makefiles"
make
make install
No comments:
Post a Comment