buytenh/ivykis

[ivykis][configure] syntax error near unexpected token `('

Closed this issue · 2 comments

  • I tried to compile ivykis, but the generated configure format is incorrect. Is my bison version incorrect?
checking host operating system type... posix
./configure: line 3859: syntax error near unexpected token `('
./configure: line 3859: `case "(($ac_try" in'
  CC       lib/logproto/lib_libsyslog_ng_la-logproto-framed-client.lo
  CC       lib/logproto/lib_libsyslog_ng_la-logproto-framed-server.lo
Makefile:428: recipe for target 'config.status' failed
make[5]: *** [config.status] Error 2
Makefile:397: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
Makefile:327: recipe for target 'all' failed
make[3]: *** [all] Error 2
Makefile:25098: recipe for target 'lib/ivykis/src/libivykis.la' failed
make[2]: *** [lib/ivykis/src/libivykis.la] Error 2
make[2]: *** Waiting for unfinished jobs....
Makefile:22722: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
Makefile:9231: recipe for target 'all' failed
make: *** [all] Error 2
--ERROR: build syslog-ng make failed.
  • my bison detail info
bison --version
bison (GNU Bison) 3.7.4
Written by Robert Corbett and Richard Stallman.

Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
bazsi commented

This seems to be a syslog-ng compilation error, not necessarily an ivykis one. configure scripts usually have syntax errors if the required autoconf tools were not the right versions. They may have errored out earlier, didn't they? Also, the release tarball should already have a functional configure script, why don't you use that? Or if you do have a reason to regenerate the configure script, use ./dbld/rules tarball to generate one, it would use docker images to ensure the required autotools stuff is there.

On Tue, Jan 26, 2021, 04:45 WigginsLiu @.***> wrote: - I tried to compile ivykis, but the generated configure format is incorrect. Is my bison version incorrect? checking host operating system type... posix ./configure: line 3859: syntax error near unexpected token (' ./configure: line 3859: case "(($ac_try" in' CC lib/logproto/lib_libsyslog_ng_la-logproto-framed-client.lo CC lib/logproto/lib_libsyslog_ng_la-logproto-framed-server.lo Makefile:428: recipe for target 'config.status' failed make[5]: *** [config.status] Error 2 Makefile:397: recipe for target 'all-recursive' failed make[4]: *** [all-recursive] Error 1 Makefile:327: recipe for target 'all' failed make[3]: *** [all] Error 2 Makefile:25098: recipe for target 'lib/ivykis/src/libivykis.la' failed make[2]: *** [lib/ivykis/src/libivykis.la] Error 2 make[2]: *** Waiting for unfinished jobs.... Makefile:22722: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 Makefile:9231: recipe for target 'all' failed make: *** [all] Error 2 --ERROR: build syslog-ng make failed. - my bison detail info bison --version bison (GNU Bison) 3.7.4 Written by Robert Corbett and Richard Stallman. Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#21>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFOK5WYVZ2ZDSQN5QM37YTS3Y3FBANCNFSM4WSY3F3Q .

Thanks. I'm trying to fix the syslog-ng compilation tool.