Installing Xtables-Addons
Hi,
I tried installing the xtables-addons by first downloading it as follows:
git clone git://xtables-addons.git.sf.net/gitroot/xtables-addons/xtables-addons/
Then I read the INSTALL file, where it says to do this:
$ ./configure $ make # make install
However, "./configure" does not work: "bash: ./configure: No such file or directory"
There is no file "configure" in the repository, only a "configure.ac". I'm unfamiliar with "autotools"... what exactly is required to make this work?
Regards,
Dominik
Quoted 2 lines · Dominik Kaspar
I tried installing the xtables-addons by first downloading it as follows:
(What about the tarball?)
Quoted 5 lines
However, "./configure" does not work: "bash: ./configure: No such file or directory"
There is no file "configure" in the repository, only a "configure.ac". I'm unfamiliar with "autotools"... what exactly is required to make this work?
./autogen.sh
Hi Jan,
I have initially tried ./autogen.sh, but gave up on it because an error occurred, which made me conclude that ./autogen.sh wasn't the right script to run...
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 190.
Use of uninitialized value $libtoolize in pattern match (m//) at /usr/bin/autoreconf line 190.
configure.ac:9: error: possibly undefined macro: AC_DISABLE_STATIC
If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation.
configure.ac:10: error: possibly undefined macro: AC_PROG_LIBTOOL
autoreconf: /usr/bin/autoconf failed with exit status: 1
Somehow I was missing "libtoolize"... no idea what that is, but I could now install it and the xtables-addons have successfully compiled.
Cool... now I can set up iptables rules with RAWDNAT, which was my primary intention. Sorry for the rash question to the mailing list ;-)
Greetings,
Dominik
Quoted 5 lines · Dominik Kaspar
I have initially tried ./autogen.sh, but gave up on it because an error occurred, which made me conclude that ./autogen.sh wasn't the right script to run...
Quoted 9 lines
Can't exec "libtoolize": No such file or directory at
/usr/bin/autoreconfline 190.
Use of uninitialized value $libtoolize in pattern match (m//) at/usr/bin/autoreconfline 190.
configure.ac:9: error: possibly undefined macro:AC_DISABLE_STATIC
If this token and others are legitimate, please usem4_pattern_allow. See the Autoconf documentation.
configure.ac:10: error: possibly undefined macro:AC_PROG_LIBTOOL
autoreconf:/usr/bin/autoconffailed with exit status: 1
libtoolize is part of libtool.