On Wed, Nov 05, 2008 at 09:16:25AM -0800, Eric Wilhelm wrote:
> 
> 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.)

I'm installing with cpan shell.


> >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.)

$ perl -MConfig -le 'print Config::config_sh()' | egrep 
'(installsitelib|installsitearch)'
installsitearch='/usr/local/lib/perl/5.10.0'
installsitelib='/usr/local/share/perl/5.10.0'

On Gentoo:

$  perl -MConfig -le 'print Config::config_sh()' | egrep 
'(installsitelib|installsitearch)'
installsitearch='/usr/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi'
installsitelib='/usr/lib/perl5/site_perl/5.8.8'



> 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.

Ok.

Thanks,

-- 
Bill Moseley
[EMAIL PROTECTED]
Sent from my iMutt

Reply via email to