Leser: 19
1
2
3
4
5
6
7
C:\strawberry\perl\lib\Net-Pcap-0.16>perl Makefile.PL INC=-IC:/WpdPack/Include "
LIBS=-LC:/WpdPack/Lib -lwpcap"
socket.h patched... ok
looking for -lwpcap... yes
checking for pcap_lib_version() in -lwpcap... yes
detecting available functions... ok
Writing Makefile for Net::Pcap
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
C:\strawberry\perl\lib\Net-Pcap-0.16>dmake
Skip blib\lib\Net\Pcap.pm (unchanged)
gcc -c -IC:/WpdPack/Include -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTO
MIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfi
elds -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.16\" -DXS_VERSION=\"0
.16\" "-IC:\strawberry\perl\lib\CORE" -DWINSOCK2_H_REQUESTED -DWPCAP -DHAVE_RE
MOTE -DHAVE_BLANK -DHAVE_PCAP_LIB_VERSION Pcap.c
In file included from Pcap.xs:43:
stubs.inc:85:2: warning: #warning "the function pcap_findalldevs() is not availa
ble, but will be emulated"
In file included from Pcap.xs:43:
stubs.inc:90: error: redefinition of typedef 'pcap_if_t'
C:/WpdPack/Include/pcap/pcap.h:89: note: previous declaration of 'pcap_if_t' was
here
stubs.inc:91: error: redefinition of 'struct pcap_if'
stubs.inc:113:2: warning: #warning "the function pcap_breakloop() is not availab
le"
stubs.inc:127:2: warning: #warning "the function pcap_setnonblock() is not avail
able"
stubs.inc:142:2: warning: #warning "the function pcap_getnonblock() is not avail
able"
stubs.inc:157:2: warning: #warning "the function pcap_dump_file() is not availab
le"
stubs.inc:172:2: warning: #warning "the function pcap_dump_flush() is not availa
ble"
stubs.inc:187:2: warning: #warning "the function pcap_list_datalinks() is not av
ailable"
stubs.inc:202:2: warning: #warning "the function pcap_set_datalink() is not avai
lable"
stubs.inc:217:2: warning: #warning "the function pcap_datalink_name_to_val() is
not available"
stubs.inc:232:2: warning: #warning "the function pcap_datalink_val_to_name() is
not available"
stubs.inc:247:2: warning: #warning "the function pcap_datalink_val_to_descriptio
n() is not available"
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
C:\Users\Julius (Admin)>cpan WWW::Mechanize
CPAN: CPAN::SQLite loaded ok (v0.199)
Database was generated on Thu, 19 Aug 2010 19:27:31 GMT
Running install for module 'WWW::Mechanize'
Running make for P/PE/PETDANCE/WWW-Mechanize-1.64.tar.gz
CPAN: Digest::SHA loaded ok (v5.48)
CPAN: Compress::Zlib loaded ok (v2.03)
Checksum for C:\strawberry\cpan\sources\authors\id\P\PE\PETDANCE\WWW-Mechanize-1
.64.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.66)
CPAN: File::Temp loaded ok (v0.22)
CPAN: Parse::CPAN::Meta loaded ok (v1.40)
CPAN: Module::CoreList loaded ok (v2.36)
CPAN.pm: Going to build P/PE/PETDANCE/WWW-Mechanize-1.64.tar.gz
WWW::Mechanize likes to have a lot of test modules for some of its tests.
The following are modules that would be nice to have, but not required.
Test::Pod
Test::Memory::Cycle
Test::Taint
Checking if your kit is complete...
Looks good
Writing Makefile for WWW::Mechanize
cp lib/WWW/Mechanize/Examples.pod blib\lib\WWW\Mechanize\Examples.pod
cp lib/WWW/Mechanize/Link.pm blib\lib\WWW\Mechanize\Link.pm
cp lib/WWW/Mechanize/Image.pm blib\lib\WWW\Mechanize\Image.pm
cp lib/WWW/Mechanize/Cookbook.pod blib\lib\WWW\Mechanize\Cookbook.pod
cp lib/WWW/Mechanize/FAQ.pod blib\lib\WWW\Mechanize\FAQ.pod
cp lib/WWW/Mechanize.pm blib\lib\WWW\Mechanize.pm
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "cp" -- bin/mech-dump bli
b\script\mech-dump
pl2bat.bat blib\script\mech-dump
PETDANCE/WWW-Mechanize-1.64.tar.gz
C:\strawberry\c\bin\dmake.EXE -- OK
CPAN: YAML loaded ok (v0.71)
Running make test
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib\lib', 'blib\arch')" t\00-load.t t\add_header.t t\aliases.t t\area_link.t t
\autocheck.t t\clone.t t\cookies.t t\credentials-api.t t\credentials.t t\die.t t
\field.t t\find_frame.t t\find_image.t t\find_inputs.t t\find_link-warnings.t t\
find_link.t t\find_link_id.t t\form-parsing.t t\frames.t t\image-new.t t\image-p
arse.t t\link-base.t t\link-relative.t t\link.t t\new.t t\pod-coverage.t t\pod.t
t\regex-error.t t\save_content.t t\select.t t\taint.t t\tick.t t\untaint.t t\up
load.t t\warn.t t\warnings.t t\local\back.t t\local\click.t t\local\click_button
.t t\local\failure.t t\local\follow.t t\local\form.t t\local\get.t t\local\overl
oad.t t\local\page_stack.t t\local\referer.t t\local\reload.t t\local\submit.t t
\live\encoding.t t\live\wikipedia.t t\mech-dump\mech-dump.t
t\00-load.t .............. 1/2 # Testing WWW::Mechanize 1.64, with LWP 5.836, Pe
rl 5.012001, C:\STRAWB~1\perl\bin\perl.exe
# Test::Memory::Cycle is not installed.
t\00-load.t .............. ok
t\add_header.t ........... ok
t\aliases.t .............. ok
t\area_link.t ............ ok
t\autocheck.t ............ skipped: Found an A record for the non-existent domai
n
t\clone.t ................ ok
t\cookies.t .............. Can't locate HTTP/Server/Simple/CGI.pm in @INC (@INC
contains: t/ C:\strawberry\cpan\build\WWW-Mechanize-1.64-ROEP6G\blib\lib C:\stra
wberry\cpan\build\WWW-Mechanize-1.64-ROEP6G\blib\arch C:/strawberry/perl/site/li
b C:/strawberry/perl/vendor/lib C:/strawberry/perl/lib .) at t//TestServer.pm li
ne 7.
BEGIN failed--compilation aborted at t//TestServer.pm line 7.
Compilation failed in require at t\cookies.t line 22.
BEGIN failed--compilation aborted at t\cookies.t line 22.
t\cookies.t .............. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t\credentials-api.t ...... Use of uninitialized value within @_ in lc at C:/stra
wberry/perl/vendor/lib/LWP/UserAgent.pm line 559.
t\credentials-api.t ...... ok
t\credentials.t .......... ok
t\die.t .................. ok
t\field.t ................ ok
t\find_frame.t ........... ok
t\find_image.t ........... ok
t\find_inputs.t .......... ok
t\find_link-warnings.t ... ok
t\find_link.t ............ ok
t\find_link_id.t ......... ok
t\form-parsing.t ......... ok
t\frames.t ............... ok
t\image-new.t ............ ok
t\image-parse.t .......... ok
t\link-base.t ............ ok
t\link-relative.t ........ ok
t\link.t ................. ok
t\live\encoding.t ........ ok
t\live\wikipedia.t ....... ok
t\local\back.t ........... 1/47 # Started http://localhost:50361/
# Failed test '404 check'
# at t\local\back.t line 151.
t\local\back.t ........... 33/47 # got: '500'
# expected: '404'
# $server404url=http://PcOben:50370/
# $mech->content="500 Can't connect to PcOben:50370 (connect: timeout)
# "
# Looks like you failed 1 test of 47.
t\local\back.t ........... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/47 subtests
(less 2 skipped subtests: 44 okay)
t\local\click.t .......... 1/9 # Started http://localhost:50378/
t\local\click.t .......... ok
t\local\click_button.t ... 1/19 # Started http://localhost:50382/
t\local\click_button.t ... ok
t\local\failure.t ........ skipped: Found an A record for the non-existent doma
n
t\local\follow.t ......... 1/22 # Started http://localhost:50388/
t\local\follow.t ......... ok
t\local\form.t ........... 1/13 # Started http://localhost:50395/
t\local\form.t ........... ok
t\local\get.t ............ 1/32 # Started http://localhost:50398/
t\local\get.t ............ ok
t\local\overload.t ....... skipped: Mysteriously stopped passing, and I don't k
ow why.
t\local\page_stack.t ..... 1/16 # Started http://localhost:50406/
t\local\page_stack.t ..... ok
t\local\referer.t ........ ok
t\local\reload.t ......... 1/14 # Started http://localhost:50416/
t\local\reload.t ......... ok
t\local\submit.t ......... 1/13 # Started http://localhost:50420/
t\local\submit.t ......... ok
t\mech-dump\mech-dump.t .. ok
t\new.t .................. ok
t\pod-coverage.t ......... skipped: Test::Pod::Coverage 1.04 required for testi
g POD coverage
t\pod.t .................. skipped: Test::Pod 1.14 required for testing POD
t\regex-error.t .......... ok
t\save_content.t ......... ok
t\select.t ............... ok
t\taint.t ................ skipped: Test::Taint required for checking taintedne
s
t\tick.t ................. ok
t\untaint.t .............. ok
t\upload.t ............... ok
t\warn.t ................. ok
t\warnings.t ............. ok
Test Summary Report
-------------------
t\cookies.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t\local\back.t (Wstat: 256 Tests: 47 Failed: 1)
Failed test: 33
Non-zero exit status: 1
t\local\click_button.t (Wstat: 0 Tests: 19 Failed: 0)
TODO passed: 15-17, 19
Files=51, Tests=539, 214 wallclock secs ( 0.22 usr + 0.14 sys = 0.36 CPU)
Result: FAIL
Failed 2/51 test programs. 1/539 subtests failed.
dmake.EXE: Error code 255, while making 'test_dynamic'
PETDANCE/WWW-Mechanize-1.64.tar.gz
C:\strawberry\c\bin\dmake.EXE test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports PETDANCE/WWW-Mechanize-1.64.tar.gz
Running make install
make test had returned bad status, won't install without force