LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Fail to install iptables::ipv4 perl module (https://www.linuxquestions.org/questions/linux-networking-3/fail-to-install-iptables-ipv4-perl-module-674582/)

barcaalep 10-06-2008 10:43 AM

Fail to install iptables::ipv4 perl module
 
hello everyone
i am running open suse 11 and i am trying to install IPTables-IPv4-0.98 perl module cause i need it to run netsquid with snort.
i have tried thid following methods and i got the same problem"
1- i downloaded the source file IPTables-IPv4-0.98.tar.gz then tar it after that i type the following commands in terminal
#perl Makefile.PL
output: Checking if your kit is complete...
Looks good
Writing Makefile for IPTables::IPv4
then i did:
#make
then i got:
output: IPv4.xs:379: warning: pointer targets in passing argument 1 of ‘iptc_get_references’ differ in signedness
make: *** [IPv4.o] Error 1


2- the second method was by using the command:
#cpan -i LWP Net::IP IPTables::IPv4
and i got this:
IPv4.xs:379: warning: pointer targets in passing argument 1 of ‘iptc_get_references’ differ in signedness
make: *** [IPv4.o] Error 1
DPATES/IPTables-IPv4-0.98.tar.gz
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible


can any one help please
simple note: when i was reading:
/IPTables-IPv4-0.98/libiptc/Makefile
so i noticed this
CFLAGS := -I../include -I/usr/src/linux/include
and as known there is no /urs/src/linux
because /linux in SUSE should be in the following path
/usr/include/linux
then i replaced it with /usr/include/linux
and i got like alot of errors


All times are GMT -5. The time now is 10:02 AM.