On Tue, 21 Apr 2015, Thomas D. wrote:

Hi,

David Lang wrote:
configure finished without any errors, but the build fails because yacc
isn't on the system

Good catch:

Making all in grammar
make[2]: Entering directory
'/var/tmp/portage/app-admin/rsyslog-9999/work/rsyslog-9999/grammar'
/bin/sh ../ylwrap grammar.y y.tab.c grammar.c y.tab.h `echo grammar.c |
sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/`
y.output grammar.output -- yacc -d
../ylwrap: line 176: yacc: command not found
Makefile:508: recipe for target 'grammar.c' failed
make[2]: *** [grammar.c] Error 127

But yacc/bison is only required when building from source.

I am wondering if we should create a hard dependency or not. Currently you
are able to build rsyslog from release tarball without bison if you don't
alter the grammar...

can you tell at teh configure step if you are building from source or from a release tarball? (and what are you meaning by a release tarball? how it it generated from a git checkout?)

David Lang
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to