Scot Needy <scotrn@gmail.com> writes:
Sorry if this is a dupe.
Looked through my mail archives and didn’t see any hits.
Trying to compile syslog-ng on CentOS 6.5 final and make fails on bison arguments.
This is a tough problem to fix properly, so I'll offer three workarounds: - You can either upgrade to bison 3, which understands those options - You can change Makefile.am, and remove/comment out the AM_YFLAGS line - You can download a tarball[1] with pre-generated grammar files, which do not need neither bison, nor flex. [1]: https://github.com/balabit/syslog-ng/releases/download/v3.5.5/syslog-ng-3.5.... The problem is that bison3 changed to far more verbose, multi-line warnings, which make the compile awfully noisy. We turn them off with the -Wno-yacc Wno-other flags, but bison2 does not understand those. The correct way would be to figure out which bison we use, and use the appropriate command-line, but the patch to do that has not been written yet. Hope this helps! -- |8]