Re: URI.pm Problem

Derek R. Price (derek_price@stortek.com)
Thu, 28 Jan 1999 15:45:28 -0700


I traced it.  It turned out to be an unlisted dependency of URI::data on
MIME::Base64.  I installed MIME::Base64 and all went well.

For those who like to know:

The URI->new method is testing for $@ =3D~ /^Can\'t locate.*in \@INC/ aft=
er
eval "require URI::$scheme" and treating the (non-error) case where the
URI::$scheme module couldn't be found and the (error) case where one of
URI::$scheme's dependencies couldn't be found the same.

Obviously the URI makefile isn't explicitly testing for dependencies
either and Bundle::LWP on CPAN currently attemps to install URI before
MIME::Base64 .

Derek

"Derek R. Price" wrote:

> I'm at a loss.  I was attempting to install the URI package using CPAN
> and got the following error:
>
> ------- Begin Inclusion -------
>
> Running make for GAAS/URI-1.00.tar.gz
> Unwrapped into directory /home/pricedr/.cpan/build/URI-1.00
> Has already been processed within this session
> Running make test
> PERL_DL_NONLAZY=3D1 /build/nss/tools/test/sparc-SunOS-5.5/bin/perl
> -Iblib/arch -Iblib/lib
> -I/build/nss/tools/test/sparc-SunOS-5.6/perl/lib/sun4-solaris
> -I/build/nss/tools/test/sparc-SunOS-5.6/perl/lib -e =91use Test::Harnes=
s
> qw(&runtests $verbose); $verbose=3D0; runtests @ARGV;=92 t/*.t
> t/abs...............ok t/data..............Can=92t locate object method
> =93media_type=94 via package =93URI::_foreign=94 at t/data.t line 9.  d=
ubious
> Test returned status 2 (wstat 512, 0x200)
> DIED. FAILED tests 2-21
> Failed 20/21 tests, 4.76% okay
>

[snip]

> ------- End Inclusion -------
>
> Derek