Subject: | DateTime failed tests; could not locate Class::ISA |
Today I attempted to install with 'cpan' a distro for which DateTime was
an explicit prerequisite. That installation failed, citing DateTime as
one of the missing prereqs. I know for a fact that DateTime was
previously installed on this machine (probably via a Debian package), so
I was surprised at this. I went to install DateTime with 'cpan'. It
appeared to build okay, but when the tests began I got output starting
like the attached.
I was surprised at that, because I know that I had Class::ISA in the
past. Nonetheless, I moved forward by using 'cpan' to install
Class::ISA. After that, I was able to (re-)install DateTime.
So, why did Class::ISA get picked up as a dependency and cause tests to
fail?
Is the fact that Class::ISA is no longer in the Perl 5 core distro
relevant here?
$ corelist Class::ISA
Class::ISA was first released with perl v5.7.3 and removed from v5.13.1
Thank you very much.
Jim Keenan
Subject: | DateTime.missingdep.txt |
CPAN.pm: Building D/DR/DROLSKY/DateTime-0.72.tar.gz
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'DateTime' version '0.72'
Building DateTime
cc -Ic -I/usr/local/lib/perl5/5.14.0/i686-linux/CORE -DXS_VERSION="0.72" -DVERSION="0.72" -fPIC -c -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o lib/DateTime.o lib/DateTime.c
ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/DateTime/DateTime.bs')
cc -shared -O2 -L/usr/local/lib -fstack-protector -o blib/arch/auto/DateTime/DateTime.so lib/DateTime.o
DROLSKY/DateTime-0.72.tar.gz
./Build -- OK
Running Build test
t/00load.t ....................... 1/?
# Failed test 'use DateTime;'
# at t/00load.t line 6.
# Tried to use 'DateTime'.
# Error: Can't locate Class/ISA.pm in @INC (@INC contains: /home/jimk/.cpan/build/DateTime-0.72-fNBogQ/blib/lib /home/jimk/.cpan/build/DateTime-0.72-fNBogQ/blib/arch /usr/local/lib/perl5/site_perl/5.14.0/i686-linux /usr/local/lib/perl5/site_perl/5.14.0 /usr/local/lib/perl5/5.14.0/i686-linux /usr/local/lib/perl5/5.14.0 /usr/local/lib/perl5/site_perl/5.12.0 /usr/local/lib/perl5/site_perl/5.10.1 /usr/local/lib/perl5/site_perl/5.10.0 /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl .) at /usr/local/lib/perl5/site_perl/5.10.1/DateTime/Locale/Base.pm line 6.
# BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.10.1/DateTime/Locale/Base.pm line 6.
# Compilation failed in require at /usr/local/lib/perl5/site_perl/5.10.1/DateTime/Locale.pm line 10.