Skip to content

Instantly share code, notes, and snippets.

@quyenlv
Last active June 18, 2019 07:26
Show Gist options
  • Save quyenlv/dd5954415bab403fcc40cc5ff5adf03a to your computer and use it in GitHub Desktop.
Save quyenlv/dd5954415bab403fcc40cc5ff5adf03a to your computer and use it in GitHub Desktop.
Install Ostinato v0.9 on GNU/Linux

Prerequisites

Ostinato v0.9 has the following dependencies:

  • QT 4.3+ (but not Qt5.x)
  • Protocol Buffers 2.3+ (bug not 3.x)
  • libpcap

Install Prerequisites

sudo apt install qt4-default libpcap-dev

For Protocol Buffer 2.3+, clone and build from git repo.

git clone https://github.com/protocolbuffers/protobuf.git
cd protobuf
git checkout tags/v2.6.1
curl https://src.fedoraproject.org/repo/pkgs/gtest/gtest-1.5.0.tar.bz2/8b2c3c3f26cb53e64a3109d03a97200a/gtest-1.5.0.tar.bz2 | tar jx
mv gtest-1.5.0 gtest
./autogen.sh
./configure
make
sudo make install

Build Steps

  1. Check out the source code version 0.9
git clone https://github.com/pstavirs/ostinato.git
cd ostinato
git checkout tags/v0.9
  1. Build the source code
qmake
make
sudo make install

References

  1. https://devguide.ostinato.org/BuildingFromSource.html
  2. https://github.com/protocolbuffers/protobuf/tree/v2.6.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment