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-21, 8:56 am

Bern wrote:
> I got errors while trying to get the URI module.
>
> cpan> install URI
> Running install for module URI
> Running make for G/GA/GAAS/URI-1.32.tar.gz
> Is already unwrapped into directory /root/.cpan/build/URI-1.32
> Has already been processed within this session

[snip]

> t/heuristic......FAILED test 7
> 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?


My earlier explanation was probably wrong, though perhaps not totally.
I've been staring at this for a couple of hours and have noted that (a)
the version you are using is *not* the most recent version -- the author
has uploaded a v1.33 -- and (b) one of the changes he made in 1.33 was a
correction to the test in question in test file 'heuristic.t'.

So why not give v1.33 a try!

HTH!

jimk
Jim Keenan

2004-09-21, 8:55 pm

Jim Keenan wrote:


> one of the changes he made in 1.33 was a
> correction to the test in question in test file 'heuristic.t'.
>

I should have included this link to search.cpan.org's marvelous 'diff'
tool, which revealed this factoid to me:

http://search.cpan.org/diff?from=UR...3#t/heuristic.t

jimk
Jim Keenan

2004-09-24, 3:59 pm

Jim Keenan <jkeen_via_google@yahoo.com> wrote in message news:<_aK3d.117$sa.98@trndny05>...
>
> So why not give v1.33 a try!
>


Note: URI v1.33 was just uploaded to CPAN on Sept 19, Sunday. As of
the time of this posting, it has not been propagaged to all CPAN
mirrors. On my Windows box at work I'm using a mirror which only has
v1.32: the version that gave both the OP and me errors on the 7th
test in 'heuristic.t'. On my Darwin box at home I'm using cpan.org,
which has v1.33. That tests A-OK! If nothing else, you can download
the tarball of v1.33 and manually install the distribution through the
usual sequence.

Jim Keenan
Sponsored Links







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

Copyright 2008 codecomments.com