Re: LWP won't install
Paul Bijnens <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.lwp |
|---|---|
| Message-ID | <[email protected]> |
J and T wrote:
> Hi,
>
> Not sure if this is the correct list or not. I have three different
> Linux servers for which I have recently updated to Perl 5.8.7. On all
> three machines I am not able to install LWP using CPAN via Bundle::LWP.
> All fail with the same error of HTML::Form being the problem:
>
> html/form.............ok 1/103# Test 99 got: "" (html/form.t at line 476)
> # Expected: "zero"
> # html/form.t line 476 is: ok(join(":",
> $f->find_input("r0")->value_names), "zero");
> html/form.............FAILED test 99
> Failed 1/103 tests, 99.03% okay
This is due to HTML::TokeParser (part of HTML-Parser-3.47)
which recently added the option "empty_element_tags=>1" to it's default
parser options.
Empty tags like "<hr />" generate a dummy "end" token without
text (the 'got: "" ' above). The test script does not expect that token.
Without that empty_element_tags option the attribute list of such a tag
would contain a boolean attribute with named "/", which is very weird.
>
> This appears to be the only thing failing at this point.
Force install is safe in this case.
--
Paul Bijnens, Xplanation Tel +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512
http://www.xplanation.com/ email: [email protected]
***********************************************************************
* I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, *
* kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ... "Are you sure?" ... YES ... Phew ... I'm out *
***********************************************************************