Error building nftables on Ubuntu Server 16.04.03 LTS

J Doe general at nativemethods.com
Sat Aug 19 20:03:26 UTC 2017


Hello,

I am currently attempting to build the nft user land tool from the nftables project [1][2]. 

On Ubuntu Server 16.04.03 LTS, nft is available via the nftables package, however the version of nft that is installed is version 0.5 whereas the most current version of nft is 0.7.  While version 0.5 is functional, there are some nftables syntax that only the current version of the tool supports.

I am following the instructions on the nftables wiki [3] to build the first library - libnftnl - however, I get an error.

$ sudo apt-get install libgmp-dev libreadline-dev bison flex autoconf gcc
$ git clone git://git.netfilter.org/libnftnl
$ cd libnftnl
$ sh autogen.sh

configure.ac.28: error: possibly undefined macro: AC_DISABLE_STATIC
  If this token and others are legitimate, please use m4_pattern_allow.
  See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

Does anyone know what the problem might be ?  I have submitted a similar e-mail to the netfilter e-mail list, but I was thinking someone who is a Ubuntu user may have already run across this.

Thanks,
- J

Sources:
[1] nftables.org/projects/nftables/index.html
[2] The nftables project is the firewall that replaces iptables (iptables, ip6tables, etc.).
[3] wiki.nftables.org/wiki-nftables/index.php/Building_and_installing_nftables_from_sources
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20170819/f36244b7/attachment.html>


More information about the ubuntu-users mailing list