<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><br></div><div>One recommendation, update the build doc to add the bison3 dependency. CentOS 6.5 &nbsp;Final still has bison2. Once I did this build worked fine. &nbsp;</div><div><br></div><div><ol><li>Download Bison 3.0 from GNU. &nbsp;&nbsp;</li><li>rpm -e bison&nbsp;</li><li>build and install bison3.&nbsp;</li><li>update your paths ( updatedb )</li><li>build syslog-ng ( make clean; ./configure ; make )&nbsp;</li></ol></div><div><br></div><div><br></div><div><br></div><br><div><div>On Jul 28, 2014, at 5:14 PM, Gergely Nagy &lt;<a href="mailto:algernon@balabit.hu">algernon@balabit.hu</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Scot Needy &lt;<a href="mailto:scotrn@gmail.com">scotrn@gmail.com</a>&gt; writes:<br><br><blockquote type="cite">Sorry if this is a dupe. <br><br><br> Looked through my mail archives and didn’t see any hits. <br><br><br>Trying to compile syslog-ng on CentOS 6.5 final and make fails on bison arguments.<br></blockquote><br>This is a tough problem to fix properly, so I'll offer three workarounds:<br><br> - You can either upgrade to bison 3, which understands those options<br> - You can change Makefile.am, and remove/comment out the AM_YFLAGS line<br> - You can download a tarball[1] with pre-generated grammar files, which<br> &nbsp;&nbsp;do not need neither bison, nor flex.<br><br> &nbsp;&nbsp;[1]: <a href="https://github.com/balabit/syslog-ng/releases/download/v3.5.5/syslog-ng-3.5.5.tar.gz">https://github.com/balabit/syslog-ng/releases/download/v3.5.5/syslog-ng-3.5.5.tar.gz</a><br><br>The problem is that bison3 changed to far more verbose, multi-line<br>warnings, which make the compile awfully noisy. We turn them off with<br>the -Wno-yacc Wno-other flags, but bison2 does not understand those.<br><br>The correct way would be to figure out which bison we use, and use the<br>appropriate command-line, but the patch to do that has not been written<br>yet.<br><br>Hope this helps!<br><br>-- <br>|8]<br>______________________________________________________________________________<br>Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq">http://www.balabit.com/wiki/syslog-ng-faq</a><br><br></blockquote></div><br></body></html>