Perl IPTables模块安装错误 [英] Perl IPTables Module Installation Error

查看:102
本文介绍了Perl IPTables模块安装错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试为perl安装IPTables模块 http://metacpan.org/pod/IPTables :: IPv4 ,安装过程中我一直遇到错误.

I've been trying to install the IPTables module for perl http://metacpan.org/pod/IPTables::IPv4 and I've been running into errors during installation.

我尝试在外壳中使用CPAN进行安装以及通过上面的链接下载tarball.两种安装都给我错误.我不确定如何从CPAN中获取转储,但是当我从压缩包中运行MAKE文件时,我可以得到的是我的shell的转储:

I've tried installing using the CPAN in shell as well as downloading the tarball form the link above. Both installation give me errors. I am not sure how to get the dump from CPAN but what I can get is a dump of my shell when I run the MAKE file from the tarball:

[root@localhost IPTables-IPv4-0.98]# make
make -C libiptc/ all
make[1]: Entering directory `/home/student/Downloads/IPTables-IPv4-0.98/libiptc'
gcc -o libip6tc.o -c libip6tc.c -I../include -I/usr/src/linux/include -DIPTABLES_VERSION=\"1.2.8\" -O2 -Wall
In file included from libip6tc.c:111:0:
libiptc.c: In function ‘ip6tc_init’:
libiptc.c:312:10: warning: pointer targets in passing argument 5 of ‘getsockopt’ differ in signedness
/usr/include/sys/socket.h:190:12: note: expected ‘socklen_t * __restrict__’ but argument is of type ‘int *’
libiptc.c: In function ‘target_name’:
libiptc.c:727:2: warning: dereferencing type-punned pointer will break strict-aliasing rules
libip6tc.c: In function ‘ipv6_prefix_length’:
libip6tc.c:121:7: error: ‘const struct in6_addr’ has no member named ‘in6_u’
libip6tc.c:125:7: error: ‘const struct in6_addr’ has no member named ‘in6_u’
libip6tc.c: In function ‘dump_entry’:
libip6tc.c:201:3: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[1]: *** [libip6tc.o] Error 1
make[1]: Leaving directory `/home/student/Downloads/IPTables-IPv4-0.98/libiptc'
make: *** [libiptc/libiptc.a] Error 2
[root@localhost IPTables-IPv4-0.98]# 

我想知道我需要怎么做才能安装模块.我需要安装一些依赖项吗?

I would like to know what do I need to do so that I can install the module. Are there some dependencies that I need to install?

非常感谢您的帮助.

推荐答案

扩展 CPAN测试人员报告的内容使我觉得您在浪费您在这里的时间.

The cpanratings and CPAN testers reports for this module make me think that you're wasting your time here.

这篇关于Perl IPTables模块安装错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆