|
Bugzilla – Full Text Bug Listing |
| Summary: | Suricata building problem from src (libnetfilter_queue) | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Distribution | Reporter: | Mikhail Kasimov <mikhail.kasimov> |
| Component: | Basesystem | Assignee: | E-mail List <bnc-team-screening> |
| Status: | RESOLVED DUPLICATE | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | bwiedemann, Greg.Freemyer, jengelh |
| Version: | 13.2 | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | openSUSE 13.2 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Mikhail Kasimov
2016-02-02 07:20:13 UTC
I think the typical solution to abstract away these differences is export CPPFLAGS=`pkg-config --cflags libnetfilter_queue` and pkg-config --libs libnetfilter_queue which uses /usr/lib64/pkgconfig/libnetfilter_queue.pc which is included in the libnetfilter_queue-devel package Shortcoming of upstream package. You should report to them that they are missing a PKG_CHECK_MODULES call for libnetfilter_queue. *** This bug has been marked as a duplicate of bug 795968 *** (In reply to Bernhard Wiedemann from comment #1) > I think the typical solution to abstract away these differences is > > export CPPFLAGS=`pkg-config --cflags libnetfilter_queue` > > and > pkg-config --libs libnetfilter_queue > > which uses > /usr/lib64/pkgconfig/libnetfilter_queue.pc > which is included in the libnetfilter_queue-devel package You're right, but this is redundant way a little bit, as for me, instead of using persistent naming schema. > You should report to them that they are missing a PKG_CHECK_MODULES call for libnetfilter_queue. I will. Hello! Guys, please give some help here: https://redmine.openinfosecfoundation.org/issues/1525#note-9 ===== First of all I'm a little bit confused why OpenSuse puts the include files in "/usr/include/libnetfilter_queue/libnetfilter_queue" instead of just "/usr/include/libnetfilter_queue" but I couldn't find a way to make this line work: {{{ AC_CHECK_HEADER(libnetfilter_queue/libnetfilter_queue.h,,[AC_ERROR(libnetfilter_queue/libnetfilter_queue.h not found ...)]) }}} I see that in other projects as well and even playing with the path didn't change anything. Does anyone have an idea why this AC_CHECK_HEADER won't work on OpenSuse but on other distris, while most of the others work well with OpenSuse? ===== Thanks! I know this is closed, but Suricata 3.1.2 is now in server:monitoring.
The "fix" was to use the correct configure statement:
%configure --enable-nfqueue \
--with-libnetfilter_queue-includes=`pkg-config libnetfilter_queue --variable=includedir` \
--with-libnetfilter_log-includes=`pkg-config libnetfilter_log --variable=includedir` \
--with-libnfnetlink-includes=`pkg-config libnfnetlink --variable=includedir` \
--enable-prelude \
--enable-gccprotect \
--enable-old-barnyard2 \
--enable-non-bundled-htp \
--enable-geoip \
--enable-lua \
--enable-hiredis
|