yaffl-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Yaffl-users] Perl libipq libraries install problem


From: grégoire HUBERT
Subject: Re: [Yaffl-users] Perl libipq libraries install problem
Date: Wed, 9 Jul 2003 18:51:55 +0200
User-agent: KMail/1.5.2

On Mardi 8 Juillet 2003 02:08, grégoire HUBERT wrote:
> It has been reported that installation of perl libipq libs was a pain on
> Debian GNU/Linux Woody.
>
> Here is a way that seems to work,
>
> You first need to install iptables-dev debian package.
>
> download the latest lib from cpan
> http://www.cpan.org/modules/01modules.index.html
> the lib is called perlipq.
>
> The Makefile.PL will ask you where to find iptables.h headers. The point is
> that it will automatically appends /include to the path you'll give. Or the
> debian iptables.h maybe not be installed in a include/ directory. The first
> point is that you have to create a     include directory from the iptables dir
> and create a symbolic link to your system's iptables header file from
> there. If you do not know where it is, "locate iptables.h" should do the
> work.

It is more simple to change the Makefile.PL script, at line 33 change the line
               'INC' => "-I$IPTABLES_DIR/include"); 
to get
               'INC' => "-I$IPTABLES_DIR");

This is for perlipq-1.25.
After that, just enter the exact directory where your iptables components are 
and it will find them...

>
> The script also assumes that libipq.h is installed in the /usr/include
> directory that IS NOT the case in debian woody. Create the symbolic link
> ln -s /usr/include/libipq/libipq.h /usr/include/libipq.h
>
> When launching the Makefile.PL script, answer DOT (.) to the question and
> (I hope) it will work...
>
> perl Makefile.PL
> Where are your iptables developpment components ? [/usr/local] .
>
> Hope this will help...
>
> Greg





reply via email to

[Prev in Thread] Current Thread [Next in Thread]