[syslog-ng] Cross-compiling syslog-ng 3.11.1 for an embedded application.

Robert King robert.king at tellabs.com
Mon Oct 2 15:42:06 UTC 2017


From: syslog-ng [mailto:syslog-ng-bounces at lists.balabit.hu] On Behalf Of Sandor Geller
Sent: Monday, October 02, 2017 3:52 AM
To: syslog-ng at lists.balabit.hu
Subject: Re: [syslog-ng] Cross-compiling syslog-ng 3.11.1 for an embedded application.



Hi,



This sounds like you haven't ran make install, only the compilation phase happened so far. In this stage libtool script are present and only during the install phase will libtool "finalize" the process and replace scripts with the actual executables.



Yes – It appears that the make install is failing.  However, it looks like ‘make install’ under my cross-compilation environment is *vastly* different from what happens under Linux Mint.  For one thing, ‘make install’ on our development system generates more code:


GEN    lib/rewrite/rewrite-expr-grammar.y



  YACC   lib/rewrite/rewrite-expr-grammar.c



  YACC   lib/rewrite/rewrite-expr-grammar.h



  GEN    lib/parser/parser-expr-grammar.y



  YACC   lib/parser/parser-expr-grammar.c



  YACC   lib/parser/parser-expr-grammar.h



  GEN    lib/filter/filter-expr-grammar.y



  YACC   lib/filter/filter-expr-grammar.c



  YACC   lib/filter/filter-expr-grammar.h



…





And then runs configure again…





cd . && /bin/sh /vobs/components/utility/syslog-ng/syslog-ng/missing --run auto                                  make-1.11 --foreign

/vobs/components/utility/syslog-ng/syslog-ng/missing: line 52: automake-1.11: co                                  mmand not found

WARNING: `automake-1.11' is missing on your system.  You should only need it if

         you modified `Makefile.am', `acinclude.m4' or `configure.ac'.

         You might want to install the `Automake' and `Perl' packages.

         Grab them from any GNU archive site.



        /bin/sh ./config.status –recheck

…





And then fails with:




clearmake: Error: Unable to find ancestor directory of audited object "/vobs/com                                  ponents/utility/syslog-ng/syslog-ng/conftest.dir/sub/conftest.o"

clearmake: Error: Unable to execute build script for "config.status"



*** Error code 1

clearmake: Error: Build script failed for "install-recursive"



*** Error code 1

clearmake: Error: Build script failed for "install"



At this point, there’s a very real possibility that we’ll remove syslog-ng from this project and begin looking for alternatives, or do without.  We can’t afford to spend any more time on this.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20171002/9433b60f/attachment.html>


More information about the syslog-ng mailing list