[syslog-ng] syslog-ng-3.5.5 bison: invalid argument `no-yacc' for `--warnings'

Scot Needy scotrn at gmail.com
Mon Jul 28 19:19:12 CEST 2014


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. 
 


[root at syslog-ng-3.5.5]# make
  YACC     lib/rewrite/rewrite-expr-grammar.c
bison: invalid argument `no-yacc' for `--warnings'
Valid arguments are:
  - `none            - no warnings'
  - `midrule-values  - unset or unused midrule values'
  - `yacc            - incompatibilities with POSIX YACC'
  - `all             - all of the above'
  - `error           - warnings are errors'
  YACC     lib/rewrite/rewrite-expr-grammar.h
….
…..
….
bison: invalid argument `no-yacc' for `--warnings'
Valid arguments are:
  - `none            - no warnings'
  - `midrule-values  - unset or unused midrule values'
  - `yacc            - incompatibilities with POSIX YACC'
  - `all             - all of the above'
  - `error           - warnings are errors'
make --no-print-directory all-recursive
  CC       lib/lib_libsyslog_ng_la-afinter.lo
  CC       lib/lib_libsyslog_ng_la-apphook.lo
  YACC     lib/block-ref-grammar.h
bison: invalid argument `no-yacc' for `--warnings'
Valid arguments are:
  - `none            - no warnings'
  - `midrule-values  - unset or unused midrule values'
  - `yacc            - incompatibilities with POSIX YACC'
  - `all             - all of the above'
  - `error           - warnings are errors'
  CC       lib/lib_libsyslog_ng_la-block-ref-parser.lo
lib/block-ref-parser.c:26:31: error: block-ref-grammar.h: No such file or directory
lib/block-ref-parser.c:43: error: 'LL_CONTEXT_BLOCK_REF' undeclared here (not in a function)
make[2]: *** [lib/lib_libsyslog_ng_la-block-ref-parser.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2




============== ./configure output =================== 

configure: creating ./config.status
config.status: creating librabbitmq.pc
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

rabbitmq-c build options:
	Host: x86_64-unknown-linux-gnu
	Version: 0.2.0
	64-bit: no
	Tools: no
	Documentation: no


syslog-ng Open Source Edition 3.5.5 configured
 Compiler options:
  compiler                    : gcc -std=gnu99
  compiler options            : -g -O2 -Wall -pthread  -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I/usr/local/include/eventlog        -I$(top_srcdir)/lib/ivykis/src/include -I$(top_builddir)/lib/ivykis/src/include -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
  linker flags                :
  prefix                      : /usr/local
  linking mode                : dynamic
  embedded crypto             : no
  __thread keyword            : yes
 Submodules:
  ivykis                      : internal
  libmongo-client             : internal
  librabbitmq                 : internal
 Features:
  Debug symbols               : no
  GCC profiling               : no
  Memtrace                    : no
  IPV6 support                : yes
  spoof-source support        : no
  tcp-wrapper support         : no
  Linux capability support    : no
  PCRE support                : no
  Env wrapper support         : no
  systemd support             : no (unit dir: none)
 Modules:
  Module search path          : /usr/local/lib/syslog-ng
  Sun STREAMS support (module): no
  SSL support (module)        : yes
  SQL support (module)        : no
  PACCT module (EXPERIMENTAL) : no
  MongoDB destination (module): yes
  JSON support (module)       : yes
  SMTP support (module)       : yes
  AMQP destination (module)   : yes
  STOMP destination (module)  : yes
  GEOIP support (module)      : no
  Redis support (module)      : no


More information about the syslog-ng mailing list