0

perl http://metacpan.org/pod/IPTables::IPv4用のIPTablesモジュールをインストールしようとしましたが、インストール中にエラーが発生しました。

シェルでCPANを使用してインストールし、上記のリンクからtarballをダウンロードしてみました。どちらのインストールでもエラーが発生します。CPANからダンプを取得する方法がわかりませんが、tarballからMAKEファイルを実行すると、シェルのダンプを取得できます。

[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]# 

モジュールをインストールするために何をする必要があるのか​​知りたいのですが。インストールする必要のある依存関係はありますか?

あなたの助けは大歓迎です。

4

1 に答える 1

1

このモジュールのcpanratingsCPANテスターのレポートは、あなたがここであなたの時間を無駄にしていると私に思わせます。

于 2011-07-11T13:01:44.313 に答える