[syslog-ng] Can't make Makefike of syslog-ng-3.0.4. OSE

Balazs Scheidler bazsi at balabit.hu
Tue Aug 18 19:54:46 CEST 2009

On Mon, 2009-08-17 at 12:28 +0900, seki-norihiko at mdis.co.jp wrote:
> Hello everyone.
> I am user of syslog-ng.
> I wanna use syslog-ng instead of syslog on Red Hat Linux 5.2.
> CPU is Intel Xeon 64-bit architecture.
> I downloaded "eventlog_0.2.10.tar.gz" and "syslog-ng-3.0.4.tar.gz"
> Open Source Edition, 
> from www.balabit.com. Thank you.
> I can make install eventlog_0.2.10.
> But I can't make Makefike of syslog-ng-3.0.4.
> I show error at below
> [root at hostname syslog-ng-3.0.4]# make
> make  all-recursive
>>>> logmatcher.c: In function ‘log_matcher_pcre_re_compile’:
> logmatcher.c:534: error: ‘PCRE_NEWLINE_ANYCRLF’ undeclared (first use
> in this function)
> logmatcher.c:534: error: (Each undeclared identifier is reported only
> once
> logmatcher.c:534: error: for each function it appears in.)
> Would you please teach me what I should do to solve this error?
> I can't info about this error on the web. I need help.

The problem is that you are using a not-recent-enough version of PCRE.
Try compiling with --disable-pcre or use the supplied binaries.


More information about the syslog-ng mailing list