This description demonstrates the building steps on the upstream repository, but you can apply these steps on your forked repository as well.
Clone your forked repository locally
git clone https://github.com/balabit/syslog-ng.git
Step into the directory
syslog-ngdirectory and run
This script will clone the Git submodules and initialize the build system. The result of the execution should be a
Create build directory We prefer to build syslog-ng in a dedicated directory, so your Git repo is kept tidy.
mkdir build cd build
../configure --enable-debug --prefix=$HOME/install/syslog-ng
You can pass additional parameters to configure, but these are the most common ones. If you run
../configure --helpyou can see all the valid parameters. The result of the configuration process is several new
Makefiles in your build directory.
-jflag will parallelize the compilation process. If
makeworks for you (without
make -jdoes not, that is a bug.
You should have a freshly built syslog-ng by the end of this step.
You can execute
make clean to remove the build artifacts.
make distclean will also
configure script. You can also completely remove the content of your build directory.