[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: perl install paths



On Wed, Nov 25, 2009 at 13:54, Tyler MacDonald <tyler@fillz.com> wrote:
> Hi,
>
>  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?

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


Reply to: