[syslog-ng] Cross-compiling syslog-ng 3.11.1 for an embedded application.
Antal Nemes
antal.nemes at balabit.com
Wed Oct 4 16:23:54 UTC 2017
When you wrote make install is failling for you, there was this part:
GEN lib/rewrite/rewrite-expr-grammar.y
YACC lib/rewrite/rewrite-expr-grammar.c
...
Maybe I have a clue.
Did you happen to run "make clean" in any point during your investigation?
Unfortunately "make clean" is a bit more destructive than one would expect
on the tarball. If that's the case, please try to start with a freshly
extracted directory and do not run make clean. The "make install" should
not fail after a successful configure+make.
Antal
On Wed, Oct 4, 2017 at 5:57 PM Robert King <robert.king at tellabs.com> wrote:
> *From:* syslog-ng [mailto:syslog-ng-bounces at lists.balabit.hu] *On Behalf
> Of *Sandor Geller
> *Sent:* Wednesday, October 04, 2017 10:32 AM
> *To:* syslog-ng at lists.balabit.hu
>
>
> *Subject:* Re: [syslog-ng] Cross-compiling syslog-ng 3.11.1 for an
> embedded application.
>
>
>
> Hello,
>
>
>
> The scripts generated by libtool aren't part of the final delivery. The
> executables in .libs/ will get installed during 'make install' into their
> final destination and then libtool will (re)link executables against the
> freshly installed libraries. This is why a successful 'make install' is
> needed and then the result could get copied to the target host.
>
>
>
> OK – I understand that. However on my cross-compilation environment,
> …/syslog-ng/.libs/syslog-ng is not getting built. It simply isn’t there
> and I’m not seeing any errors indicating it wasn’t built.
>
>
>
> gmake compares timestamps of source and compiled files to track
> dependencies so if there was a change after the build process then
> reconfigure / rebuild gets triggered - this should get avoided but it is
> more or less impossible to guess what happened on your system after running
> make... For example many years ago I had issues with certain filesystems
> not storing fractions of seconds so timestamps were rounded to seconds and
> comparision became a bit stochastic...
>
>
>
> OK -- We’ll try switching to make instead of gmake.
>
>
> -- King
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20171004/5b5e8c98/attachment.html>
More information about the syslog-ng
mailing list