Cmake with gcc or clang. Here in this description we build with gcc >= 4.9 (has C++11 support).
Install packages with 'apt-get'/aptitude.
boost-all >= 1.57
snappy-dev leveldb-dev libuv-dev
libtre-dev ragel
hyperscan >= 5.1
git clone https://github.com/intel/hyperscan.git
cd hyperscan
git checkout tags/v5.1.1
mkdir build
cd build
cmake -DBUILD_SHARED_LIBS=1 ..
make
make install
strusBase strus strusAnalyzer strusTrace strusModule
git clone https://github.com/patrickfrey/strusPattern
cd strusPattern
git submodule update --init --recursive
git submodule foreach --recursive git checkout master
git submodule foreach --recursive git pull
for strusprj in strusBase strus strusAnalyzer strusTrace strusModule
do
git clone https://github.com/patrickfrey/$strusprj $strusprj
cd $strusprj
cmake -DCMAKE_BUILD_TYPE=Release -DLIB_INSTALL_DIR=lib .
make
make install
cd ..
done
for strusprj in strusBase strus strusAnalyzer strusTrace \
strusModule
do
git clone https://github.com/patrickfrey/$strusprj $strusprj
cd $strusprj
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER="clang" -DCMAKE_CXX_COMPILER="clang++" .
make
make install
cd ..
done
cmake -DCMAKE_BUILD_TYPE=Release .
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER="clang" -DCMAKE_CXX_COMPILER="clang++" .
make
make test
make install