#2714: iptables-1.4.2
----------------------------------------+-----------------------------------
Reporter: ra...@… | Owner: blfs-b...@…
Type: task | Status: new
Priority: normal | Milestone: 6.4
Component: BOOK | Version: SVN
Severity: normal | Keywords:
----------------------------------------+-----------------------------------
Comment(by jeremy_henty):
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/pkgconfig
}}}
This 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}*.8
}}}
If 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.
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/2714#comment:1>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page