[Bug 795968] New: openSUSE:12.2/libnetfilter_queue: Bug
https://bugzilla.novell.com/show_bug.cgi?id=795968 https://bugzilla.novell.com/show_bug.cgi?id=795968#c0 Summary: openSUSE:12.2/libnetfilter_queue: Bug Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Critical Priority: P5 - None Component: 3rd party software AssignedTo: jengelh@inai.de ReportedBy: blaskyy@gmail.com QAContact: opensuse-communityscreening@forge.provo.novell.com Found By: Community User Blocker: --- why do you guys write the spec file "%configure --disable-static --includedir=%_includedir/%name-%version" with _includedir/%name-%version !!!!!!!!!!! the devel packages of netfilter series can't be used at all !!!!!!!!!!! the header file can't find the header file which they have included !!!! as well as the _libdir !!!!!!!!! why not just left the includedir as default! the "./configure"will do it well enough!!! this problem happens on all netfilter devel packages -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=795968
https://bugzilla.novell.com/show_bug.cgi?id=795968#c1
Jan Engelhardt
https://bugzilla.novell.com/show_bug.cgi?id=795968
https://bugzilla.novell.com/show_bug.cgi?id=795968#c2
--- Comment #2 from Blask Wang
It is there to detect when downstream users fail to use the result from pkgconfig.
So,It is right?but I just program with libnetfilter-queue,and include the
https://bugzilla.novell.com/show_bug.cgi?id=795968
https://bugzilla.novell.com/show_bug.cgi?id=795968#c3
--- Comment #3 from Jan Engelhardt
https://bugzilla.novell.com/show_bug.cgi?id=795968
https://bugzilla.novell.com/show_bug.cgi?id=795968#c4
--- Comment #4 from Blask Wang
Users of the library (and that includes further libraries) are to use pkgconfig to determine the CPPFLAGS and LIBS of libnetfilter_queue as well as other packages. For autotools, use a recipe like
#configure.ac PKG_CHECK_MODULES([libnetfilter_queue], [libnetfilter_queue >= 1.0])
#Makefile.am AM_CPPFLAGS = ${libnetfilter_queue_CFLAGS} bin_PROGRAMS = myprog myprog_LDADD = ${libnetfilter_queue_LIBS}
For other build systems (like cmake), see their documentation on how to integrate pkgconfig. Because the CPPFLAGS as obtained via pkgconfig contain an -I flag with the correct location, the appropriate include line is in all cases
#include
Thank you~ :D, I will go and learn those,Sorry for waste your time. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com