Change History (7)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Also, the sed hack of iptables.xslt in the iptables-1.3.x instructions is unnecessary in iptables-1.4.x. The syntax has been fixed and the sed command changes nothing.
comment:3 by , 18 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.

Unlike iptables-1.3.x, iptables-1.4.x is autotooled. After experimenting I suggest the following configure command:
./configure \ --prefix=/usr \ --bindir=/sbin \ --sbindir=/sbin \ --libdir=/lib \ --libexecdir=/lib \ --with-pkgconfigdir=/usr/lib/pkgconfigThis creates files:
/lib/libxtables.* /lib/xtables/{libipt,libip6t,libxt}_*.so /sbin/{iptables*,ip6tables*,iptables-xml} /usr/include/xtables.h /usr/lib/pkgconfig/xtables.pc /usr/share/man/man8/{iptables,ip6tables}*.8If you leave out '--bindir=/sbin' then iptables-xml installs to /usr/bin (maybe that's better than the current /sbin?).
If you leave out '--with-pkgconfigdir=/usr/lib/pkgconfig' then xtables.pc installs to /lib/pkgconfig, which is surely wrong.
If you leave out '--libexecdir=/lib' then xtables/*.so install to /usr/libexec, which is wrong.
I hope this is useful.