For Programmers: Free Programming Magazines  


Home > Archive > PERL Modules > September 2004 > Re: Problem gettting module from CPAN









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Problem gettting module from CPAN
Jim Keenan

2004-09-20, 3:57 pm

bfay@deepcosmos.ca (Bern) wrote in message news:<836bef72.0409191956.5f33ef36@posting.google.com>...
> I got errors while trying to get the URI module.
>
> Failed 1/15 tests, 93.33% okay

[snip]
> Failed Test Stat Wstat Total Fail Failed List of Failed
> -------------------------------------------------------------------------------
> t/heuristic.t 15 1 6.67% 7
> 1 test skipped.
> Failed 1/31 test scripts, 96.77% okay. 1/466 subtests failed, 99.79%
> okay.
> 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
>
>
> How can we fix this problem?


I get the same failure testing on MSWin32, Perl 5.8.0.

Checking the test suite, test 7 under heuristic reads:

$URI::Heuristic::MY_COUNTRY = "uk";
print "not " unless uf_urlstr("perl/camel.gif") =~
m,^http://www\.perl\.(org|co)\.uk/camel\.gif$,;
print "ok 7\n";

I don't have time at the moment to go through the code thoroughly, but
the test may be failing because neither of the URIs possible from
inside the pattern are currently available:

http://www.perl.co.uk/camel.gif
http://www.perl.org.uk/camel.gif

Jim Keenan
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com