Re: iptables-1.8.0: Cannot build without libnftnly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thomas Deutschmann <whissi@xxxxxxxxxx> wrote:
> Hi,
> 
> I am trying to build iptables-1.8.0 with
> 
> > ./configure \
> > --prefix=/usr \
> > --build=x86_64-pc-linux-gnu \
> > --host=x86_64-pc-linux-gnu \
> > --mandir=/usr/share/man \
> > --infodir=/usr/share/info \
> > --datadir=/usr/share \
> > --sysconfdir=/etc \
> > --localstatedir=/var/lib \
> > --disable-dependency-tracking \
> > --disable-silent-rules \
> > --docdir=/usr/share/doc/iptables-1.8.0 \
> > --htmldir=/usr/share/doc/iptables-1.8.0/html \
> > --libdir=/usr/lib64 \
> > --sbindir=/sbin \
> > --libexecdir=/lib64 \
> > --enable-devel \
> > --enable-shared \
> > --disable-nftables \
> > --disable-bpf-compiler \
> > --disable-nfsynproxy \
> > --disable-static \
> > --enable-ipv6
> 
> However, it it failing with
> 
> > In file included from ../iptables/nft.h:5:0,
> >                  from libebt_arp.c:20:
> > ../iptables/nft-shared.h:6:10: fatal error: libnftnl/rule.h: No such file or directory
> >  #include <libnftnl/rule.h>
> >           ^~~~~~~~~~~~~~~~~
> > compilation terminated.
> 
> I don't have libnftnl installed on that box.
> 
> Judging from https://git.netfilter.org/iptables/tree/configure.ac?h=v1.8.0#n127
> iptables only requires libnftnl when "--enable-nftables" is set but like
> shown I have set "--disable-nftables".

Yes, we should not attempt to build the libebt* files when not building
iptables-nft.

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux