Code Comments
Programming Forum and web based access to our favorite programming groups.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
Post Follow-up to this messageJim 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
Post Follow-up to this messageJim 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
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.