Background here:
https://rt.cpan.org/Ticket/Display.html?id=52072
Essentially, I had two copies of TAP::Harness installed -- one from CPAN
and one from the "libtest-harness-perl" package.
Debian's went to /usr/share/perl5 -- CPAN's went to
/usr/share/perl/5.10.0.
This is the @INC for perl (i'm on lenny):
@INC:
/etc/perl
/usr/local/lib/perl/5.10.0
/usr/local/share/perl/5.10.0
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.10
/usr/share/perl/5.10
/usr/local/lib/site_perl
.
I'm guessing that this is wrong. But who is wrong? Is it the built perl,
or is it the configuration that comes with CPAN?
Thanks,
Tyler
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Shouldn't CPAN stuff go in /usr/local/share/ ?
Also, have you used dh-make-perl?
It will pull down stuff from CPAN and automagically turn it into a .deb
(though I don't know if it would necessarily fix this path problem).
Cheers,
Kelly Clowers
If you have one from a package, why install from CPAN?
> >
> > �Debian's went to /usr/share/perl5 -- CPAN's went to
> > /usr/share/perl/5.10.0.
> >
> > �This is the @INC for perl (i'm on lenny):
> >
> > �@INC:
> > � �/etc/perl
> > � �/usr/local/lib/perl/5.10.0
> > � �/usr/local/share/perl/5.10.0
> > � �/usr/lib/perl5
> > � �/usr/share/perl5
> > � �/usr/lib/perl/5.10
> > � �/usr/share/perl/5.10
> > � �/usr/local/lib/site_perl
> > � �.
> >
> > �I'm guessing that this is wrong. But who is wrong? Is it the built perl,
> > or is it the configuration that comes with CPAN?
>
> Shouldn't CPAN stuff go in /usr/local/share/ ?
Yes.
$ perl -V:vendorlib -V:sitelib
vendorlib='/usr/share/perl5';
sitelib='/usr/local/share/perl/5.10.0';
Vendor stuff (packaged debs) goes under /usr/share/perl5 by default
(well, it's more complex than that). Locally-insstalled stuff
(site-specific) goes under /usr/local/share .
>
> Also, have you used dh-make-perl?
> It will pull down stuff from CPAN and automagically turn it into a .deb
> (though I don't know if it would necessarily fix this path problem).
It basically avoids the problem altogether.
--
Tzafrir Cohen | tza...@jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tza...@cohens.org.il | | best
ICQ# 16849754 | | friend