Problems installing iptables

john captain.deadly at gmail.com
Wed Feb 6 06:38:53 PST 2008


Yes the Source is still in /usr/src/linux... How embarrassing would
that have been ;-)

I'll try the latest iptables source and see where I get to.

Thanks and I'll let you know how I get on.

John

On Feb 6, 2008 2:22 PM, S. Martinez <at2marty at gmail.com> wrote:
>
>
>
> john wrote:
> > Following the instructions for installing iptables and get an error.
> > Think I may be specifing
> > my kernel directory wrong?
> >
> > As an ordinary user I execute:
> >
> > make PREFIX=/usr LIBDIR=/lib BINDIR=/sbin KERNEL_DIR=/usr/src/linux-2.6.22.5
> >
> > and then as root I do:
> >
> > make PREFIX=/usr LIBDIR=/lib BINDIR=/sbin
> > KERNEL_DIR=/usr/src/linux-2.6.22.5 install
> > Making dependencies: please wait...
> > Unable to resolve dependency on linux/netfilter_ipv4/ip_conntrack.h.
> > Try 'make clean'.
> > Unable to resolve dependency on linux/netfilter_ipv4/ip_nat_rule.h.
> > Try 'make clean'.
> >
> > I've tried a make clean as suggested but still get the same error. I
> > looked in the INSTALL
> > file of ipheaders which stated that KERNEL_DIR should point to the
> > directory where I
> > build the kernel which was /usr/src/linux-2.6.22.5
> >
> > Any help gratefully received.
> >
> > John
> >
> John,
>
> I had the same problem not too long ago.  The way I fixed it was to
> download the latest source for iptables and follow the BLFS instructions
> for installing.
>
> --
> http://linuxfromscratch.org/mailman/listinfo/blfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>



More information about the blfs-support mailing list