Hallo Leute,
da ich für ein Perl Script NET::PCAP benötige, dachte ich "wozu gibt's CPAN".
Versuch 1 scheiterte daran das ich die Pcap Library nicht installiert hatte. Dank apt-get ist das aber auf Debian kein Thema. Was meinen zweiten Versuch zum Abbruch gebracht hat kann ich allerdings so nicht erkennen. Für Sachdienliche Hinweise wäre ich sehr dankbar. Hier der entsprechende Output:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
cpan[4]> install Net::Pcap
Running install for module 'Net::Pcap'
Running make for S/SA/SAPER/Net-Pcap-0.14.tar.gz
Has already been unwrapped into directory /root/.cpan/build/Net-Pcap-0.14-jP2toj
Has already been made
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load...........# Testing Net::Pcap 0.14 under Perl 5.008008
t/00-load...........ok
t/01-api............ok
t/02-lookup.........ok
t/03-openlive.......NOK 13/14
# Failed test ' - $err must be set: SIOCGIFHWADDR: No such device'
# at t/03-openlive.t line 70.
# 'SIOCGIFHWADDR: No such device'
# doesn't match '/^(?:bind|ioctl): (?:No such device)/'
# Looks like you failed 1 test of 14.
t/03-openlive.......dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 13
Failed 1/14 tests, 92.86% okay
t/04-loop...........ok
t/05-dump...........ok
t/06-offline........ok
t/07-stats..........ok
6/134 unexpectedly succeeded
TODO PASSED tests 16, 29, 55, 81, 107, 133
t/08-filter.........ok
t/09-error..........ok
t/10-fileno.........ok
1/21 unexpectedly succeeded
TODO PASSED test 19
t/11-snapshot.......ok
t/12-next...........ok
t/13-dispatch.......ok
t/14-datalink.......ok
t/15-is_swapped.....ok 1/5# This platform has been detected as a little endian architecture
t/15-is_swapped.....ok
t/16-setnonblock....ok
t/17-lib_version....ok
t/18-open_dead......ok
t/19-breakloop......ok
t/20-constants......ok
16/276 skipped: various reasons
t/pod...............ok
t/podcover..........skipped
all skipped: Test::Pod::Coverage 1.06 required for testing POD coverage
t/portfs............skipped
all skipped: Test::Portability::Files required for testing filenames portability
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/03-openlive.t 1 256 14 1 13
(7 subtests UNEXPECTEDLY SUCCEEDED), 2 tests and 16 subtests skipped.
Failed 1/24 test scripts. 1/1610 subtests failed.
Files=24, Tests=1610, 77 wallclock secs ( 2.19 cusr + 0.36 csys = 2.55 CPU)
Failed 1/24 test programs. 1/1610 subtests failed.
make: *** [test_dynamic] Fehler 255
SAPER/Net-Pcap-0.14.tar.gz
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Failed during this command:
SAPER/Net-Pcap-0.14.tar.gz : make_test NO
cpan[5]>
OK, das Test 13 wohl damit zusammenhängt ist zu vermuten, aber was muss ich machen, damit ich das Modul auf meinen Rechner zum fliegen bringe?
Danke
Roland
--
"Steh vorn, während du fragst;
sitzen soll, wer antwortet."
Aus "Die Edda des Snorri Sturluson" "Gylfis Täuschung" Strophe 2