![]() |
|
[ASK] Install Module Perl - Printable Version +- HN-Community (https://hacker-newbie.org) +-- Forum: Miscellaneous (https://hacker-newbie.org/forum-86.html) +--- Forum: Coding/Programing (https://hacker-newbie.org/forum-19.html) +---- Forum: Perl (https://hacker-newbie.org/forum-80.html) +---- Thread: [ASK] Install Module Perl (/thread-14726.html) |
[ASK] Install Module Perl - skyland_hacker - 08-10-2012 Bro mau nanya ' ![]() Mau nanya ini kenapa error kayak gini yah waktu install module perl di Windows 7. Error terjadi saat di install module WWW::Mechanize; ![]() Code: Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\user>cd..
C:\Users>cd..
C:\>cd strawberry
C:\strawberry>cd perl
C:\strawberry\perl>cd bin
C:\strawberry\perl\bin>perl -MCPAN -e shell
There seems to be running another CPAN process (pid 6056). Contacting...
Other job not responding. Shall I overwrite the lockfile 'C:\strawberry\cpan\.lo
ck'? (Y/n) [y] y
cpan shell -- CPAN exploration and modules installation (v1.9800)
Enter 'h' for help.
cpan> install LWP::Socket
Database was generated on Thu, 09 Aug 2012 06:51:57 GMT
LWP::Socket is up to date (1.24).
cpan> install LWP::UserAgent
LWP::UserAgent is up to date (6.04).
cpan> install HTTP::Request
HTTP::Request is up to date (6.00).
cpan> install Parallel::ForkManager
Parallel::ForkManager is up to date (0.7.9).
cpan> install MIME::Base64
MIME::Base64 is up to date (3.13).
cpan> install WWW::Mechanize
Running install for module 'WWW::Mechanize'
Running make for J/JE/JESSE/WWW-Mechanize-1.72.tar.gz
Checksum for C:\strawberry\cpan\sources\authors\id\J\JE\JESSE\WWW-Mechanize-1.72
.tar.gz ok
Scanning cache C:\strawberry\cpan\build for sizes
............................................................................DONE
CPAN.pm: Building J/JE/JESSE/WWW-Mechanize-1.72.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
Writing MYMETA.yml and MYMETA.json
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
JESSE/WWW-Mechanize-1.72.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\content.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-w
arnings.t t\find_link.t t\find_link_id.t t\form-parsing.t t\form_with_fields.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-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\upload.t t\warn.t t\warnings.t t\local\back.t t\l
ocal\click.t t\local\click_button.t t\local\content.t t\local\encoding.t t\local
\failure.t t\local\follow.t t\local\form.t t\local\get.t t\local\nonascii.t t\lo
cal\overload.t t\local\page_stack.t t\local\referer.t t\local\reload.t t\local\s
ubmit.t t\mech-dump\mech-dump.t
t\00-load.t .............. 1/2 # Testing WWW::Mechanize 1.72, with LWP 6.04, Per
l 5.014002, C:\STRAWB~1\perl\bin\perl.exe
# Test::Memory::Cycle is not installed.
t\00-load.t .............. ok
t\add_header.t ........... 1/4 Use of uninitialized value in pattern match (m//)
at C:/strawberry/perl/vendor/lib/Encode/Locale.pm line 44.
t\add_header.t ........... ok
t\aliases.t .............. ok
t\area_link.t ............ 1/9 Use of uninitialized value in pattern match (m//)
at C:/strawberry/perl/vendor/lib/Encode/Locale.pm line 44.
t\area_link.t ............ ok
t\autocheck.t ............ ok
t\clone.t ................ ok
t\content.t .............. ok
t\cookies.t .............. skipped: HTTP::Server::Simple does not support Window
s yet.
t\credentials-api.t ...... Use of uninitialized value in lc at C:/strawberry/per
l/site/lib/LWP/UserAgent.pm line 605.
t\credentials-api.t ...... ok
t\credentials.t .......... ok
t\die.t .................. ok
t\field.t ................ 1/8 Use of uninitialized value in pattern match (m//)
at C:/strawberry/perl/vendor/lib/Encode/Locale.pm line 44.
t\field.t ................ ok
t\find_frame.t ........... 1/5 Use of uninitialized value in pattern match (m//)
at C:/strawberry/perl/vendor/lib/Encode/Locale.pm line 44.
t\find_frame.t ........... ok
t\find_image.t ........... 1/17 Use of uninitialized value in pattern match (m//
) at C:/strawberry/perl/vendor/lib/Encode/Locale.pm line 44.
t\find_image.t ........... ok
t\find_inputs.t .......... 1/11 Use of uninitialized value in pattern match (m//
) at C:/strawberry/perl/vendor/lib/Encode/Locale.pm line 44.
t\find_inputs.t .......... ok
t\find_link-warnings.t ... 1/19 Use of uninitialized value in pattern match (m//
) at C:/strawberry/perl/vendor/lib/Encode/Locale.pm line 44.
t\find_link-warnings.t ... ok
t\find_link.t ............ 1/62 Use of uninitialized value in pattern match (m//
) at C:/strawberry/perl/vendor/lib/Encode/Locale.pm line 44.
t\find_link.t ............ ok
t\find_link_id.t ......... 1/? Use of uninitialized value in pattern match (m//)
at C:/strawberry/perl/vendor/lib/Encode/Locale.pm line 44.
t\find_link_id.t ......... ok
t\form-parsing.t ......... ok
t\form_with_fields.t ..... 1/? Use of uninitialized value in pattern match (m//)
at C:/strawberry/perl/vendor/lib/Encode/Locale.pm line 44.
t\form_with_fields.t ..... 3/? There are 2 forms with the named fields. The fir
st one was used. at t\form_with_fields.t line 27
t\form_with_fields.t ..... ok
t\frames.t ............... 1/7 Use of uninitialized value in pattern match (m//)
at C:/strawberry/perl/vendor/lib/Encode/Locale.pm line 44.
t\frames.t ............... ok
t\image-new.t ............ ok
t\image-parse.t .......... 1/15 Use of uninitialized value in pattern match (m//
) at C:/strawberry/perl/vendor/lib/Encode/Locale.pm line 44.
t\image-parse.t .......... ok
t\link-base.t ............ ok
t\link-relative.t ........ 1/6 Use of uninitialized value in pattern match (m//)
at C:/strawberry/perl/vendor/lib/Encode/Locale.pm line 44.
t\link-relative.t ........ ok
t\link.t ................. ok
t\local\back.t ........... 31/47
# Failed test '404 check'
t\local\back.t ........... 33/47 # at t\local\back.t line 151.
# got: '500'
# expected: '404'
# $server404url=http://asus:49694/
# $mech->content="Can't connect to asus:49694 (timeout)
#
# LWP::Protocol::http::Socket: connect: timeout at C:/strawberry/perl/site/lib/L
WP/Protocol/http.pm line 51, <$server> line 1.
# "
t\local\back.t ........... 44/47 # 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 .......... ok
t\local\click_button.t ... ok
t\local\content.t ........ 3/10 # Running tests against http://localhost:59247/?
xml=1
t\local\content.t ........ ok
t\local\encoding.t ....... ok
t\local\failure.t ........ ok
t\local\follow.t ......... ok
t\local\form.t ........... ok
t\local\get.t ............ ok
t\local\nonascii.t ....... ok
t\local\overload.t ....... skipped: Mysteriously stopped passing, and I don't kn
ow why.
t\local\page_stack.t ..... ok
t\local\referer.t ........ 1/13 Use of uninitialized value in pattern match (m//
) at C:/strawberry/perl/vendor/lib/Encode/Locale.pm line 44.
t\local\referer.t ........ ok
t\local\reload.t ......... ok
t\local\submit.t ......... ok
t\mech-dump\mech-dump.t .. Use of uninitialized value in pattern match (m//) at
C:/strawberry/perl/vendor/lib/Encode/Locale.pm line 44.
t\mech-dump\mech-dump.t .. ok
t\new.t .................. ok
t\pod-coverage.t ......... skipped: Test::Pod::Coverage 1.04 required for testin
g POD coverage
t\pod.t .................. skipped: Test::Pod 1.14 required for testing POD
t\regex-error.t .......... ok
t\save_content.t ......... 1/5 Use of uninitialized value in pattern match (m//)
at C:/strawberry/perl/vendor/lib/Encode/Locale.pm line 44.
t\save_content.t ......... ok
t\select.t ............... 1/14 Use of uninitialized value in pattern match (m//
) at C:/strawberry/perl/vendor/lib/Encode/Locale.pm line 44.
t\select.t ............... ok
t\taint.t ................ skipped: Test::Taint required for checking taintednes
s
t\tick.t ................. 1/5 Use of uninitialized value in pattern match (m//)
at C:/strawberry/perl/vendor/lib/Encode/Locale.pm line 44.
t\tick.t ................. ok
t\untaint.t .............. ok
t\upload.t ............... 1/5 Use of uninitialized value in pattern match (m//)
at C:/strawberry/perl/vendor/lib/Encode/Locale.pm line 44.
t\upload.t ............... ok
t\warn.t ................. ok
t\warnings.t ............. ok
Test Summary Report
-------------------
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=54, Tests=565, 698 wallclock secs ( 3.54 usr + 1.44 sys = 4.98 CPU)
Result: FAIL
Failed 1/54 test programs. 1/565 subtests failed.
dmake.EXE: Error code 255, while making 'test_dynamic'
JESSE/WWW-Mechanize-1.72.tar.gz
C:\strawberry\c\bin\dmake.EXE test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports JESSE/WWW-Mechanize-1.72.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
JESSE/WWW-Mechanize-1.72.tar.gz : make_test NO
cpan>![]() Saya pake Strawberry Perl : yang saya download di SINI Itu Kenapa yah Bro ![]() Ada yang bisa bantu.???
|