Thread Installationsproblem WWW::Mechanize auf Strawberry (27 answers)
Opened by bianca at 2010-02-24 10:21

bianca
 2010-02-24 10:21
#133580 #133580
User since
2009-09-13
7016 Artikel
BenutzerIn

user image
Hab ein Installationsproblem mit WWW::Mechanize auf Windows Vista Ultimate mit Strawberry Perl 5.10.1

Code: (dl )
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
cpan> install WWW::Mechanize
Fetching with LWP:
http://cpan.strawberryperl.com/authors/01mailrc.txt.gz
Fetching with LWP:
http://cpan.strawberryperl.com/modules/02packages.details.txt.gz
Fetching with LWP:
http://cpan.strawberryperl.com/modules/03modlist.data.gz
Database was generated on Tue, 16 Feb 2010 10:21:24 GMT
Updating database file ...

Gathering information from index files ...
Obtaining current state of database ...
Populating database tables ...
Done!
Running install for module 'WWW::Mechanize'
Running make for P/PE/PETDANCE/WWW-Mechanize-1.60.tar.gz
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/P/PE/PETDANCE/WWW-Mechanize-1.60.tar.gz
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/P/PE/PETDANCE/CHECKSUMS
Checksum for C:\strawberry\cpan\sources\authors\id\P\PE\PETDANCE\WWW-Mechanize-1.60.tar.gz ok
Scanning cache C:\strawberry\cpan\build for sizes
......................................--------------------------------------DONE
DEL(1/2): C:\strawberry\cpan\build\PerlMagick-6.59-mWXOii
DEL(2/2): C:\strawberry\cpan\build\PerlMagick-6.59-mWXOii.yml

CPAN.pm: Going to build P/PE/PETDANCE/WWW-Mechanize-1.60.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 blib\script\mech-dump
pl2bat.bat blib\script\mech-dump
PETDANCE/WWW-Mechanize-1.60.tar.gz
C:\strawberry\c\bin\dmake.EXE -- OK
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\d
ie.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-parse.t t\link-base.t t\link-relative.t t\link.t t\new.t t\pod-covera
ge.t t\pod.t t\regex-error.t t\save_content.t t\select.t t\taint.t t\tick.t t\upload.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
\overload.t t\local\page_stack.t t\local\referer.t t\local\reload.t t\local\submit.t t\live\encoding.t t\live\wikiped
ia.t t\mech-dump\mech-dump.t
t\00-load.t .............. 1/2 # Testing WWW::Mechanize 1.60, with LWP 5.834, Perl 5.010001, C:\STRAWB~1\perl\bin\per
l.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 ............ ok
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.60-HCyRCA\blib\lib C:\strawberry\cpan\build\WWW-Mechanize-1.60-HCyRCA\blib\arch C:/strawberry/perl/l
ib C:/strawberry/perl/site/lib C:\strawberry\perl\vendor\lib .) at t//TestServer.pm line 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 ...... 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:60762/
t\local\back.t ........... 4/47 Terminating on signal SIGINT(2)

Hier hab ich mit STRG C abgebrochen, nachdem ich zweimal Sicherheitswarnungen der Firewall und des Benutzersicherheitssystems mit JA/OK bestätigt hab, weil es hängen geblieben ist.

Habe dann die drei Module Test::..... installiert und nochmal versucht.
Hängt wieder an der gleichen Stelle fest. Wenn ich das dort nicht mit STRG C abbrechen würde, blieb das noch bis morgen.

Code: (dl )
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> install WWW::Mechanize
Running install for module 'WWW::Mechanize'
Running make for P/PE/PETDANCE/WWW-Mechanize-1.60.tar.gz
Checksum for C:\strawberry\cpan\sources\authors\id\P\PE\PETDANCE\WWW-Mechanize-1.60.tar.gz ok

CPAN.pm: Going to build P/PE/PETDANCE/WWW-Mechanize-1.60.tar.gz

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 blib\script\mech-dump
pl2bat.bat blib\script\mech-dump
PETDANCE/WWW-Mechanize-1.60.tar.gz
C:\strawberry\c\bin\dmake.EXE -- OK
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\d
ie.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-parse.t t\link-base.t t\link-relative.t t\link.t t\new.t t\pod-covera
ge.t t\pod.t t\regex-error.t t\save_content.t t\select.t t\taint.t t\tick.t t\upload.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
\overload.t t\local\page_stack.t t\local\referer.t t\local\reload.t t\local\submit.t t\live\encoding.t t\live\wikiped
ia.t t\mech-dump\mech-dump.t
t\00-load.t .............. 1/2 # Testing WWW::Mechanize 1.60, with LWP 5.834, Perl 5.010001, C:\STRAWB~1\perl\bin\per
l.exe
# Test::Memory::Cycle 1.04 is installed.
t\00-load.t .............. ok
t\add_header.t ........... ok
t\aliases.t .............. ok
t\area_link.t ............ ok
t\autocheck.t ............ ok
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.60-aNJJxW\blib\lib C:\strawberry\cpan\build\WWW-Mechanize-1.60-aNJJxW\blib\arch C:/strawberry/perl/l
ib C:/strawberry/perl/site/lib C:\strawberry\perl\vendor\lib .) at t//TestServer.pm line 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 ...... 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:61115/
t\local\back.t ........... 4/47


Weiß jemand, was ich falsch mache bzw. was fehlt?
10 print "Hallo"
20 goto 10

View full thread Installationsproblem WWW::Mechanize auf Strawberry