Hi,

I am not following the functionality side of the discussion, but it might be interesting that we have docker images also for building syslog-ng not just running it. And they come with all the tools, libraries needed to compile syslog-ng.

Actually you can generate the docker image locally as well:

```
$ dbld/rules image-centos7
$ dbld/rules shell-centos7
```

You can also build binaries by using targets like rpm-centos7. For more information run:

$ dbld/rules help

On May 7, 2018 17:51, "Gergely Nagy" <algernon@balabit.com> wrote:
>>>>> "Delon" == Delon Lee Di Lun <lee.delon2005@gmail.com> writes:

    Delon> I am also have some issue compiling some of the modules. E.g. --enable-json
    Delon> I have installed the necessary json rpm packages. Do I have to compile the
    Delon> libraries from source? I can see the lib in /usr/lib64 is there something
    Delon> im missing, do I have to point ./configure to the /usr/lib64 folder? If so
    Delon> how do i do it?

You need the development files (typically in a package with a -devel
postfix). See the `packaging/rhel/syslog-ng.spec` file for a list of
dependencies (you may not need all of them, if you don't need all the
modules). The "BuildRequires" lines list the packages you need to
compile it.

Mind you, if you installed syslog-ng from your distribution, and all you
want is forward your apache logs from clients to a central server, you
may not need to compile from source.

--
|8]
______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq