LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   error in installing IPTables-IPv4 (https://www.linuxquestions.org/questions/linux-software-2/error-in-installing-iptables-ipv4-674579/)

barcaalep 10-06-2008 10:41 AM

error in installing IPTables-IPv4
 
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


i don't but hopfully someone gona help me ASAP

amani 10-06-2008 11:20 AM

why don't you use the package manager?

barcaalep 10-06-2008 06:40 PM

Quote:

Originally Posted by amani (Post 3301907)
why don't you use the package manager?


hey thanks for your attention but Unfortunately there is no such a package in SUSE package manager ( YAST )


All times are GMT -5. The time now is 02:03 PM.