* Compiling nft-0.9.6
@ 2020-09-27 11:57 Rob Sterenborg (Lists)
2020-09-27 12:21 ` Pablo Neira Ayuso
0 siblings, 1 reply; 3+ messages in thread
From: Rob Sterenborg (Lists) @ 2020-09-27 11:57 UTC (permalink / raw)
To: Netfilter
I'm on CentOS 7 and trying to compile nftables 0.9.6.
For requirements I downloaded the sources from
https://www.netfilter.org/pub and:
- I compiled and installed the latest libmnl-1.0.4 in /usr/local.
(./configure && make && make install && ldconfig)
- I compiled and installed the latest libnftl-1.1.6 in /usr/local.
(PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure && make && make
install && ldconfig)
When configuring nftables-0.9.6 it says that libmnl is okay, but it
requires libnftl-1.1.7:
================
checking for LIBMNL... yes
checking for LIBNFTNL... no
configure: error: Package requirements (libnftnl >= 1.1.7) were not met:
Requested 'libnftnl >= 1.1.7' but version of libnftnl is 1.1.6
You may find new versions of libnftnl at
http://netfilter.org/projects/libnftnl/
================
At the time of writing there is no libnftl-1.1.7 in
https://www.netfilter.org/pub/libnftnl/ so I checked Git. In git there
is a 1.1.7 tag, so I cloned the repo and switched to the libnftnl-1.1.7 tag.
When configuring, it returns a syntax error:
================
./configure: line 4141: syntax error near unexpected token `LIBMNL,'
./configure: line 4141: `PKG_CHECK_MODULES(LIBMNL, libmnl >= 1.0.4)'
================
I don't know how to fix this..
Is there something I can do to be able to compile nftables-0.9.6?
The most recent nftables I was able to compile is 0.9.3 with
libmnl-1.0.4 and libnft-1.1.6.
Thanks,
Rob
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Compiling nft-0.9.6
2020-09-27 11:57 Compiling nft-0.9.6 Rob Sterenborg (Lists)
@ 2020-09-27 12:21 ` Pablo Neira Ayuso
2020-09-28 7:55 ` Rob Sterenborg (Lists)
0 siblings, 1 reply; 3+ messages in thread
From: Pablo Neira Ayuso @ 2020-09-27 12:21 UTC (permalink / raw)
To: Rob Sterenborg (Lists); +Cc: Netfilter
Hi,
On Sun, Sep 27, 2020 at 01:57:45PM +0200, Rob Sterenborg (Lists) wrote:
> I'm on CentOS 7 and trying to compile nftables 0.9.6.
>
> For requirements I downloaded the sources from https://www.netfilter.org/pub
> and:
>
> - I compiled and installed the latest libmnl-1.0.4 in /usr/local.
> (./configure && make && make install && ldconfig)
>
> - I compiled and installed the latest libnftl-1.1.6 in /usr/local.
> (PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure && make && make
> install && ldconfig)
>
> When configuring nftables-0.9.6 it says that libmnl is okay, but it requires
> libnftl-1.1.7:
>
> ================
> checking for LIBMNL... yes
> checking for LIBNFTNL... no
> configure: error: Package requirements (libnftnl >= 1.1.7) were not met:
>
> Requested 'libnftnl >= 1.1.7' but version of libnftnl is 1.1.6
> You may find new versions of libnftnl at
> http://netfilter.org/projects/libnftnl/
> ================
>
> At the time of writing there is no libnftl-1.1.7 in
> https://www.netfilter.org/pub/libnftnl/ so I checked Git. In git there is a
> 1.1.7 tag, so I cloned the repo and switched to the libnftnl-1.1.7 tag.
There is one here:
http://www.netfilter.org/projects/libnftnl/downloads.html
2020-Jun-05: libnftnl-1.1.7
libnftnl-1.1.7.tar.bz2 : GPG signature (key) : sha256sum 20dbc13f11004aea2c9e479cfb90359cb11fe3446c3140811c18e4ec1648ed8f
I just resync the /pub directory so you can also find it there, the
robot failed to rsync the folder for some reason.
> When configuring, it returns a syntax error:
>
> ================
> ./configure: line 4141: syntax error near unexpected token `LIBMNL,'
> ./configure: line 4141: `PKG_CHECK_MODULES(LIBMNL, libmnl >= 1.0.4)'
> ================
>
> I don't know how to fix this..
You have to install pkg-config.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Compiling nft-0.9.6
2020-09-27 12:21 ` Pablo Neira Ayuso
@ 2020-09-28 7:55 ` Rob Sterenborg (Lists)
0 siblings, 0 replies; 3+ messages in thread
From: Rob Sterenborg (Lists) @ 2020-09-28 7:55 UTC (permalink / raw)
To: Netfilter
On 27-09-2020 14:21, Pablo Neira Ayuso wrote:
> Hi,
>
> On Sun, Sep 27, 2020 at 01:57:45PM +0200, Rob Sterenborg (Lists) wrote:
>> I'm on CentOS 7 and trying to compile nftables 0.9.6.
>>
>> For requirements I downloaded the sources from https://www.netfilter.org/pub
>> and:
>>
>> - I compiled and installed the latest libmnl-1.0.4 in /usr/local.
>> (./configure && make && make install && ldconfig)
>>
>> - I compiled and installed the latest libnftl-1.1.6 in /usr/local.
>> (PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure && make && make
>> install && ldconfig)
>>
>> When configuring nftables-0.9.6 it says that libmnl is okay, but it requires
>> libnftl-1.1.7:
>>
>> ================
>> checking for LIBMNL... yes
>> checking for LIBNFTNL... no
>> configure: error: Package requirements (libnftnl >= 1.1.7) were not met:
>>
>> Requested 'libnftnl >= 1.1.7' but version of libnftnl is 1.1.6
>> You may find new versions of libnftnl at
>> http://netfilter.org/projects/libnftnl/
>> ================
>>
>> At the time of writing there is no libnftl-1.1.7 in
>> https://www.netfilter.org/pub/libnftnl/ so I checked Git. In git there is a
>> 1.1.7 tag, so I cloned the repo and switched to the libnftnl-1.1.7 tag.
>
> There is one here:
>
> http://www.netfilter.org/projects/libnftnl/downloads.html
>
> 2020-Jun-05: libnftnl-1.1.7
>
> libnftnl-1.1.7.tar.bz2 : GPG signature (key) : sha256sum 20dbc13f11004aea2c9e479cfb90359cb11fe3446c3140811c18e4ec1648ed8f
>
> I just resync the /pub directory so you can also find it there, the
> robot failed to rsync the folder for some reason.
>
>> When configuring, it returns a syntax error:
>>
>> ================
>> ./configure: line 4141: syntax error near unexpected token `LIBMNL,'
>> ./configure: line 4141: `PKG_CHECK_MODULES(LIBMNL, libmnl >= 1.0.4)'
>> ================
>>
>> I don't know how to fix this..
>
> You have to install pkg-config.
I found posts mentioning this so I checked to be sure. pkg-config was
already installed, and also updating it to the latest version didn't help.
Thanks for this. I just successfully compiled and installed
libnftl-1.1.7 and nftables-0.9.6.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-09-28 7:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-27 11:57 Compiling nft-0.9.6 Rob Sterenborg (Lists)
2020-09-27 12:21 ` Pablo Neira Ayuso
2020-09-28 7:55 ` Rob Sterenborg (Lists)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.