- cmake(at least 2.8)
- rustc(at least 1.5)
- cargo
- syslog-ng(at least 3.8)
- a C compiler
- Clone this repository
- Create build directory
mkdir build
- Step into the build directory
cd build
- Generate build system (the individual modules may need additional flags for CMake):
cmake -DCMAKE_INSTALL_PREFIX=/home/btibi/install/syslog-ng ..
You can also use CMake's graphical configurator (cmake-gui). CMAKE_INSTALL_PREFIX should point to the directory, where syslog-ng was installed.
The default build type is Debug, you can build a highly optimized version with the -DCMAKE_BUILD_TYPE=Release flag.
- Build the project:
make
- Install the project:
make install
Check README for more detailed information.
- python-3.4development library
- ENABLE_PYTHON_PARSERCMake flag should be set to ON
- PYTHON_LIBRARY: if CMake cannot find the Python development library, specify the location manually:
cmake -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DCMAKE_INSTALL_PREFIX=/home/btibi/install/syslog-ng ..
Check README for more detailed information.
- ENABLE_REGEX_PARSERCMake flag should be set to ON
Check actiondb-parser and actiondb for more detailed information.
- ENABLE_ACTIONDB_PARSERCMake flag should be set to ON