Le Mer 22 Juin 2011 13:32:08, schwern@pobox.com a écrit :
Show quoted text> Something is hosed with your install. Perl is looking in your
> personal
> library directory (/home/vlefevre/lib/site_perl) for the testing
> library
> (Test/Harness.pm) and it can't find a sub-component (TAP/Harness.pm)
> anywhere
> on the system.
>
> Are you using the Debian supplied Perl or one you compiled yourself?
Debian's supplied Perl.
Show quoted text> Are you using local::lib?
No (I don't know what it is).
Show quoted text> One way that could happen is if you installed the perl-base package,
> which
> contains a very minimal set of Perl and is missing things like
> TAP::Harness...
> but then you wouldn't have ExtUtils::Command either.
There is no TAP/Harness.pm, but perl-modules provides
/usr/share/perl/5.10.0/ExtUtils/Command.pm
Show quoted text> If that is the case, installing the "perl" meta-package should sort
> that out.
It is installed.
Show quoted text> Another way is if you're using Debian's Perl while installing your own
> modules
> via CPAN.pm and then update Debian's Perl. If CPAN isn't configured
> properly
> they might blow over pieces of each other. You wind up with pieces of
> different versions of the same library. Debian generally configures
> CPAN
> properly.
Well, there are Debian Perl modules installed, and I install missing
modules with CPAN in my home directory (because I am not root on these
machines). It seems that CPAN reinstalls some modules already provided
by Debian, but perhaps because newer versions are needed.
Show quoted text> Do you have libtest-harness-perl installed? That may have
> uninstalled part of a CPAN installed Test::Harness.
No, the libtest-harness-perl package is not installed. However
perl-modules provides Test::Harness.
$ dpkg -L perl-modules | grep Harness
/usr/share/perl/5.10.0/Test/Harness.pm
/usr/share/perl/5.10.0/Test/Harness
/usr/share/perl/5.10.0/Test/Harness/Util.pm
/usr/share/perl/5.10.0/Test/Harness/TAP.pod
/usr/share/perl/5.10.0/Test/Harness/Straps.pm
/usr/share/perl/5.10.0/Test/Harness/Results.pm
/usr/share/perl/5.10.0/Test/Harness/Point.pm
/usr/share/perl/5.10.0/Test/Harness/Iterator.pm
/usr/share/perl/5.10.0/Test/Harness/Assert.pm
Also,
$ ll -d lib/site_perl/**/Harness*
drwxr-xr-x 2 vlefevre users 6 2011-06-17 13:07:23
lib/site_perl/TAP/Harness/
-r--r--r-- 1 vlefevre users 15423 2011-02-20 14:25:23
lib/site_perl/Test/Harness.pm
Show quoted text> What I'd suggest is temporarily moving /home/vlefevre/lib/*perl* out
> of the
> way and see if that fixes things. And if it does, keep it out of the
> way and
> reinstall your modules.
OK, I'm going to try that.