# from Bill Moseley
# on Wednesday 05 November 2008:

>Seems a lot of pure-perl modules were installed in:
>
>    /usr/local/share/perl/5.8.8
>...
>so many modules are not found after upgrading since 5.8.8 in not in
>@INC in 5.10.0.
>...
>Is that an Ubuntu issue or something common across Perl installations?

It seems to be a Debian/Ubuntu thing.  One would have to look at their 
policy manual to understand it more deeply (I don't at this point.)  It 
does look like the debs are installed in the /usr/lib/perl5/ path 
(regardless of whether they are XS, but that makes sense because 
they'll get upgraded with the perl deb.)

>Assuming my modules are "forward compatible" as a module author is
>there anything I can do in Makefile.PL to have my module installed in
>a location that does not have the version number?

No.  The code gets installed in installsitelib or installsitearch per 
the machine's Config.pm (and subject to user settings in CPAN(PLUS) or 
Makefile.PL/Build.PL arguments.)

(And note:  most (99%?) perl modules are forward compatible.)

The user could opt to change that on their machine, but there is 
presumably a reason for Debian's choices in how this has been setup -- 
so reading-up on that seems like the next step to me.

--Eric
-- 
The opinions expressed in this e-mail were randomly generated by
the computer and do not necessarily reflect the views of its owner.
--Management
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------

Reply via email to