5 Nov
2008
5 Nov
'08
5:26 p.m.
Douglas E. Warner wrote:
Balazs Scheidler wrote:
The distribution tarball should contain an already generated .c file suitable for compiling syslog-ng. It is present there to avoid the build dependency on flex (only needed if you change the lexer file).
I'm using flex 2.5.34 myself, and it works fine here.
Right, I see that, but for some reason (most likely timestamp issues) the file still wants to be regenerated.
The flex version I'm having problems with is 2.5.4 on RHEL 5 (and lower).
The workaround I've found is to touch the files generated by flex (cfg-grammer.c and cfg-lex.c) before configuring/building the packages (in the spec file's %prep section). This prevents make from trying to rebuild these files. -Doug