Snort mailing list archives
DAQ: parallel build problem
From: Jann Röder <mail () jann-roeder net>
Date: Sun, 28 Sep 2014 22:07:38 +0100
Hi, when building the daq package for macports we came across a problem related to parallel build where tokdefs.h doesn't exist. It can be fixed using the following patch (courtesy of Ryan Schmidt): --- sfbpf/Makefile.in.orig 2013-11-05 09:10:24.000000000 -0600 +++ sfbpf/Makefile.in 2014-09-25 19:52:37.000000000 -0500 @@ -653,7 +653,7 @@ # use of $@ and $< here is a GNU idiom that borks BSD -${builddir}/sf_scanner.c: ${srcdir}/scanner.l +${builddir}/sf_scanner.c: ${srcdir}/scanner.l ${builddir}/tokdefs.h @rm -f ${builddir}/sf_scanner.c ${srcdir}/runlex.sh $(V_LEX) -osf_scanner.c ${srcdir}/scanner.l Ryan says: "The issue is easy to reproduce if the following patch is applied and `autoreconf` is run: {{{ --- sfbpf/Makefile.am.orig 2011-08-01 08:25:41.000000000 -0500 +++ sfbpf/Makefile.am 2014-09-25 19:44:05.000000000 -0500 @@ -48,6 +48,7 @@ ${srcdir}/runlex.sh $(V_LEX) -osf_scanner.c ${srcdir}/scanner.l ${builddir}/tokdefs.h ${builddir}/sf_grammar.c: ${srcdir}/grammar.y + sleep 5 @rm -f ${builddir}/sf_grammar.c ${builddir}/tokdefs.h $(V_YACC) -d ${srcdir}/grammar.y mv y.tab.c sf_grammar.c }}}" If you could include the above patch to Makefile.in in the next release we can remove the patch from the macports package. Thanks, Jann ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ Snort-devel mailing list Snort-devel () lists sourceforge net https://lists.sourceforge.net/lists/listinfo/snort-devel Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=snort-devel Please visit http://blog.snort.org for the latest news about Snort!
Current thread:
- DAQ: parallel build problem Jann Röder (Sep 28)
- Re: DAQ: parallel build problem Hui Cao (huica) (Sep 30)