From mboxrd@z Thu Jan 1 00:00:00 1970 From: KOVACS Krisztian Subject: Re: [RFC][PATCH] use of pkg-config in libnetfilter_*, conntrack, and ulogd2 Date: Tue, 18 Jul 2006 15:29:51 +0200 Message-ID: <200607181529.51851@nienna> References: <200603192324.50444@krak> <441F5C00.2060206@eurodev.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7BIT Cc: Harald Welte , Pablo Neira Ayuso Return-path: In-reply-to: <441F5C00.2060206@eurodev.net> To: netfilter-devel@lists.netfilter.org Content-disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org Hi, On Tuesday 21 March 2006 02.50, Pablo Neira Ayuso wrote: > > This weekend I've spent a significant amount of time configuring and > > compiling the whole libnetfilter_* universe and the conntrack and > > ulogd2 tools. My initial plan was to install everything under > > /opt/netfilter, however, the out-of-the-box configure.in files provided > > with these modules do not make this particularly easy. > > > > So after spending some time trying all kinds of mantras and magical > > runes to get autoconfuse do what I intended to do, I came to the > > conclusion that all this would be much simpler if we used the > > PKG_CHECK_* macros in configure.in. The necessary pkgconfig .pc files > > are generated and installed anyway, so why not? > > > > Of course this means that to compile these modules one will need > > pkg-config, but personally I don't consider this a problem. The > > additional benefit of this method would be that the only thing to take > > care of is that of setting a correct PKG_CONFIG_PATH, all the include > > paths and libraries are then found magically. > > I like it, AFAIK pkg-config is always in most distros, so this new > requirement shouldn't be a problem. Moreover, this provides us a way to > easily maintain the library version dependencies. Since this also > affects other libraries, I'll wait for Harald's ACK before commiting > this to conntrack and libnetfilter_conntrack. Is there any chance of getting these patches applied? Compiling all the necessary libraries from an SVN checkout is still a daunting task for me, especially because of the nfnetlink dependency. The original email and patches are here: http://marc.theaimsgroup.com/?l=netfilter-devel&m=114280711926066&w=2 -- KOVACS Krisztian