error when installing WWW::Mechanize
error when installing WWW::Mechanize
am 19.07.2011 09:57:43 von Agnello George
Hi
I get the following error when i install WWW::Mechanize via CPAN .
Can some one suggest me how to fix this . thanks
==================== =====3D=
==================== ==
PERL_DL_NONLAZY=3D1 /usr/bin/perl "-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-warnings.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/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/nonascii.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/wikipedia.t
t/mech-dump/mech-dump.t
t/00-load.t .............. 1/2 # Testing WWW::Mechanize 1.68, with LWP
6.02, Perl 5.008008, /usr/bin/perl
# 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/content.t .............. ok
t/cookies.t .............. # Test server http://127.0.0.1:20342 as PID 2021=
2
t/cookies.t .............. ok
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/form_with_fields.t ..... 1/? There are 2 forms with the named
fields. The first one was used. at t/form_with_fields.t line 27
t/form_with_fields.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:44195/
t/local/back.t ........... ok
t/local/click.t .......... 1/9 # Started http://localhost:33453/
t/local/click.t .......... ok
t/local/click_button.t ... 1/19 # Started http://localhost:46511/
t/local/click_button.t ... ok
t/local/failure.t ........ 1/15 # Started http://localhost:36511/
t/local/failure.t ........ ok
t/local/follow.t ......... 1/22 # Started http://localhost:56646/
t/local/follow.t ......... ok
t/local/form.t ........... 1/13 # Started http://localhost:36967/
t/local/form.t ........... ok
t/local/get.t ............ 1/32 # Started http://localhost:59990/
t/local/get.t ............ ok
t/local/nonascii.t ....... 1/5 # Started http://localhost:46843/
No such field 'ValueOf'CF.{=D1}'' at
/root/.cpan/build/WWW-Mechanize-1.68/blib/lib/WWW/Mechanize. pm line
1403
# Looks like you planned 5 tests but ran 4.
t/local/nonascii.t ....... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/5 subtests
t/local/overload.t ....... skipped: Mysteriously stopped passing, and
I don't know why.
t/local/page_stack.t ..... 1/16 # Started http://localhost:44131/
t/local/page_stack.t ..... ok
t/local/referer.t ........ ok
t/local/reload.t ......... 1/14 # Started http://localhost:53642/
t/local/reload.t ......... ok
t/local/submit.t ......... 1/13 # Started http://localhost:59736/
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 testing 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
taintedness
t/tick.t ................. ok
t/untaint.t .............. skipped: Test::NoWarnings not installed
t/upload.t ............... ok
t/warn.t ................. ok
t/warnings.t ............. ok
Test Summary Report
-------------------
t/local/click_button.t (Wstat: 0 Tests: 19 Failed: 0)
TODO passed: 15-17, 19
t/local/nonascii.t (Wstat: 65280 Tests: 4 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 5 tests but ran 4.
Files=3D54, Tests=3D589, 23 wallclock secs ( 0.24 usr 0.05 sys + 7.08
cusr 0.83 csys =3D 8.20 CPU)
Result: FAIL
Failed 1/54 test programs. 0/589 subtests failed.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
==================== =====3D=
============
--=20
Regards
Agnello D'souza
--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/
Re: error when installing WWW::Mechanize
am 19.07.2011 10:47:44 von Francisco Rivas
--001636c92c628b799f04a8682cac
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hello I think that one approach can be install all the modules marked as
"not installed".
Test::Memory::Cycle is not installed.
Just an idea. Have a very nice day.
2011/7/19 Agnello George
> Hi
>
>
> I get the following error when i install WWW::Mechanize via CPAN .
> Can some one suggest me how to fix this . thanks
>
>
> ==================== =====
==================== ===3D
>
> PERL_DL_NONLAZY=3D1 /usr/bin/perl "-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-warnings.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/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/nonascii.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/wikipedia.t
> t/mech-dump/mech-dump.t
> t/00-load.t .............. 1/2 # Testing WWW::Mechanize 1.68, with LWP
> 6.02, Perl 5.008008, /usr/bin/perl
> # 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/content.t .............. ok
> t/cookies.t .............. # Test server http://127.0.0.1:20342 as PID
> 20212
> t/cookies.t .............. ok
> 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/form_with_fields.t ..... 1/? There are 2 forms with the named
> fields. The first one was used. at t/form_with_fields.t line 27
> t/form_with_fields.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:44195/
> t/local/back.t ........... ok
> t/local/click.t .......... 1/9 # Started http://localhost:33453/
> t/local/click.t .......... ok
> t/local/click_button.t ... 1/19 # Started http://localhost:46511/
> t/local/click_button.t =
.... ok
> t/local/failure.t ........ 1/15 # Started http://localhost:36511/
> t/local/failure.t ........
> ok
> t/local/follow.t ......... 1/22 # Started http://localhost:56646/
> t/local/follow.t ......... o=
k
> t/local/form.t ........... 1/13 # Started http://localhost:36967/
> t/local/form.t ........... ok
> t/local/get.t ............ 1/32 # Started http://localhost:59990/
> t/local/get.t ............ ok
> t/local/nonascii.t ....... 1/5 # Started http://localhost:46843/
> No such field 'ValueOf'CF.{=D1}'' at
> /root/.cpan/build/WWW-Mechanize-1.68/blib/lib/WWW/Mechanize. pm line
> 1403
> # Looks like you planned 5 tests but ran 4.
> t/local/nonascii.t ....... Dubious, test returned 255 (wstat 65280, 0xff0=
0)
> Failed 1/5 subtests
> t/local/overload.t ....... skipped: Mysteriously stopped passing, and
> I don't know why.
> t/local/page_stack.t ..... 1/16 # Started http://localhost:44131/
> t/local/page_stack.t ....=
.. ok
> t/local/referer.t ........ ok
> t/local/reload.t ......... 1/14 # Started http://localhost:53642/
> t/local/reload.t ......... o=
k
> t/local/submit.t ......... 1/13 # Started http://localhost:59736/
> t/local/submit.t ......... o=
k
> t/mech-dump/mech-dump.t .. ok
> t/new.t .................. ok
> t/pod-coverage.t ......... skipped: Test::Pod::Coverage 1.04 required
> for testing POD coverage
> t/pod.t .................. skipped: Test::Pod 1.14 required for testing P=
OD
> t/regex-error.t .......... ok
> t/save_content.t ......... ok
> t/select.t ............... ok
> t/taint.t ................ skipped: Test::Taint required for checking
> taintedness
> t/tick.t ................. ok
> t/untaint.t .............. skipped: Test::NoWarnings not installed
> t/upload.t ............... ok
> t/warn.t ................. ok
> t/warnings.t ............. ok
>
> Test Summary Report
> -------------------
> t/local/click_button.t (Wstat: 0 Tests: 19 Failed: 0)
> TODO passed: 15-17, 19
> t/local/nonascii.t (Wstat: 65280 Tests: 4 Failed: 0)
> Non-zero exit status: 255
> Parse errors: Bad plan. You planned 5 tests but ran 4.
> Files=3D54, Tests=3D589, 23 wallclock secs ( 0.24 usr 0.05 sys + 7.08
> cusr 0.83 csys =3D 8.20 CPU)
> Result: FAIL
> Failed 1/54 test programs. 0/589 subtests failed.
> make: *** [test_dynamic] Error 255
> /usr/bin/make test -- NOT OK
> Running make install
> make test had returned bad status, won't install without force
>
> ==================== =====
=============3D
>
>
> --
> Regards
> Agnello D'souza
>
> --
> To unsubscribe, e-mail: beginners-unsubscribe@perl.org
> For additional commands, e-mail: beginners-help@perl.org
> http://learn.perl.org/
>
>
>
--001636c92c628b799f04a8682cac--
Re: error when installing WWW::Mechanize
am 19.07.2011 11:04:35 von Christian Walde
On Tue, 19 Jul 2011 09:57:43 +0200, Agnello George
com> wrote:
> I get the following error when i install WWW::Mechanize via CPAN .
> Can some one suggest me how to fix this . thanks
You're running an oldish perl and get what's basically a Unicode error in=
one single instance.
Suggestions would be to install perlbrew and use it to install a more rec=
ent perl or just plain to force install, since everything else seems to b=
e in working order.
--=20
With regards,
Christian Walde
--=20
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/
Re: error when installing WWW::Mechanize
am 19.07.2011 11:34:17 von Agnello George
>
> Suggestions would be to install perlbrew and use it to install a more recent
> perl or just plain to force install, since everything else seems to be in
> working order.
>
i did a force install and gave me the following output
Test Summary Report
-------------------
t/local/click_button.t (Wstat: 0 Tests: 19 Failed: 0)
TODO passed: 15-17, 19
t/local/nonascii.t (Wstat: 65280 Tests: 4 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 5 tests but ran 4.
Files=54, Tests=589, 24 wallclock secs ( 0.23 usr 0.04 sys + 7.04
cusr 0.82 csys = 8.13 CPU)
Result: FAIL
Failed 1/54 test programs. 0/589 subtests failed.
make: *** [test_dynamic] Error 255
JESSE/WWW-Mechanize-1.68.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports JESSE/WWW-Mechanize-1.68.tar.gz
Running make install
Installing /usr/lib/perl5/site_perl/5.8.8/WWW/Mechanize.pm
Installing /usr/lib/perl5/site_perl/5.8.8/WWW/Mechanize/Examples.pod
Installing /usr/lib/perl5/site_perl/5.8.8/WWW/Mechanize/Image.pm
Installing /usr/lib/perl5/site_perl/5.8.8/WWW/Mechanize/Cookbook.pod
Installing /usr/lib/perl5/site_perl/5.8.8/WWW/Mechanize/Link.pm
Installing /usr/lib/perl5/site_perl/5.8.8/WWW/Mechanize/FAQ.pod
Installing /usr/share/man/man1/mech-dump.1
Installing /usr/share/man/man3/WWW::Mechanize::Cookbook.3pm
Installing /usr/share/man/man3/WWW::Mechanize.3pm
Installing /usr/share/man/man3/WWW::Mechanize::Link.3pm
Installing /usr/share/man/man3/WWW::Mechanize::Examples.3pm
Installing /usr/share/man/man3/WWW::Mechanize::FAQ.3pm
Installing /usr/share/man/man3/WWW::Mechanize::Image.3pm
Installing /usr/bin/mech-dump
Appending installation info to
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.p od
JESSE/WWW-Mechanize-1.68.tar.gz
/usr/bin/make install -- OK
Failed during this command:
JESSE/WWW-Mechanize-1.68.tar.gz : make_test FAILED but
failure ignored because 'force' in effect
...............................................
would there be a issue when using the module in the future ..humm
--
Regards
Agnello D'souza
--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/
Re: error when installing WWW::Mechanize
am 19.07.2011 11:59:51 von Rob Coops
--90e6ba308d76735b2204a8692e86
Content-Type: text/plain; charset=UTF-8
On Tue, Jul 19, 2011 at 11:34 AM, Agnello George
wrote:
> >
> > Suggestions would be to install perlbrew and use it to install a more
> recent
> > perl or just plain to force install, since everything else seems to be in
> > working order.
> >
>
> i did a force install and gave me the following output
>
> Test Summary Report
> -------------------
> t/local/click_button.t (Wstat: 0 Tests: 19 Failed: 0)
> TODO passed: 15-17, 19
> t/local/nonascii.t (Wstat: 65280 Tests: 4 Failed: 0)
> Non-zero exit status: 255
> Parse errors: Bad plan. You planned 5 tests but ran 4.
> Files=54, Tests=589, 24 wallclock secs ( 0.23 usr 0.04 sys + 7.04
> cusr 0.82 csys = 8.13 CPU)
> Result: FAIL
> Failed 1/54 test programs. 0/589 subtests failed.
> make: *** [test_dynamic] Error 255
> JESSE/WWW-Mechanize-1.68.tar.gz
> /usr/bin/make test -- NOT OK
> //hint// to see the cpan-testers results for installing this module, try:
> reports JESSE/WWW-Mechanize-1.68.tar.gz
> Running make install
> Installing /usr/lib/perl5/site_perl/5.8.8/WWW/Mechanize.pm
> Installing /usr/lib/perl5/site_perl/5.8.8/WWW/Mechanize/Examples.pod
> Installing /usr/lib/perl5/site_perl/5.8.8/WWW/Mechanize/Image.pm
> Installing /usr/lib/perl5/site_perl/5.8.8/WWW/Mechanize/Cookbook.pod
> Installing /usr/lib/perl5/site_perl/5.8.8/WWW/Mechanize/Link.pm
> Installing /usr/lib/perl5/site_perl/5.8.8/WWW/Mechanize/FAQ.pod
> Installing /usr/share/man/man1/mech-dump.1
> Installing /usr/share/man/man3/WWW::Mechanize::Cookbook.3pm
> Installing /usr/share/man/man3/WWW::Mechanize.3pm
> Installing /usr/share/man/man3/WWW::Mechanize::Link.3pm
> Installing /usr/share/man/man3/WWW::Mechanize::Examples.3pm
> Installing /usr/share/man/man3/WWW::Mechanize::FAQ.3pm
> Installing /usr/share/man/man3/WWW::Mechanize::Image.3pm
> Installing /usr/bin/mech-dump
> Appending installation info to
> /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.p od
> JESSE/WWW-Mechanize-1.68.tar.gz
> /usr/bin/make install -- OK
> Failed during this command:
> JESSE/WWW-Mechanize-1.68.tar.gz : make_test FAILED but
> failure ignored because 'force' in effect
>
> ..............................................
> would there be a issue when using the module in the future ..humm
>
> --
> Regards
> Agnello D'souza
>
> --
> To unsubscribe, e-mail: beginners-unsubscribe@perl.org
> For additional commands, e-mail: beginners-help@perl.org
> http://learn.perl.org/
>
>
>
There might be but based on the fact that the errors are reported in the non
ASCII part of the tests it is not highly likely to happen. I would suggest
make a mental note of this and should you run into trouble later on simply
see about upgrading Perl (if possible) or see if you can work out what the
tests are testing and why they would fail. You are often able to avoid
problems if you know exactly what causes them.
Personally I usually do not bother upgrading Perl unless there is some
serious error that's blocking me. The main reason is that you will have to
go over all your scripts and code to make sure that all of them still work
as intended. Even though there should be no difference it is a dangerous
assumption that things will always work as advertised. :-)
Regards,
Rob
--90e6ba308d76735b2204a8692e86--