[Pdx-pm] Custom CentOS RPM of Perl

Roderick A. Anderson raanders at cyber-office.net
Tue Mar 30 13:17:31 PDT 2010

Daniel Browning wrote:

> On Tuesday 30 March 2010 11:56:02 am Roderick A. Anderson wrote:
> I have seen postings (mostly on the Catalyst list) that the Perl RPM for
> the Redhat based distributions is pretty bad.

Thanks Daniel, and Keith Lofstrom, and J. Shirley for you insights. 
Especially about not replacing (or using) the distribution Perl.

> I agree. For one, I prefer a non-threaded perl.
>> I'd like to build (or find) a Perl RPM that replaces the one provided.
>> This is for CentOS systems.  
> Here is one that I use and recommend:
> http://packages.endpoint.com/

Thank you!

> The catch is that it does not replace the system perl, it only supercedes it 
> by installing in /usr/local/ (which is generally ahead of /usr/). The RPM 
> files are named local-perl-* instead of perl-* to keep them separate.
> If part of your motivation for replacing the system perl is due to hard-
> coded paths to /usr/bin/perl, I suggest replacing them with this:
>  #!/usr/bin/env perl
> Then they will automatically use /usr/local/ in a standard environment 
> configuration. (Or they can all be switched to something else just by 
> changing the environment, and you don't have to modify a host of paths. DRY 
> principle and all that.)

Thanks again.

>> Is this something a mostly sane person :-) should try?
> Personally, I wouldn't try to replace the system perl because the other 
> software linked to it probably depends on the very things I want to change, 
> such as threadiness. Theoretically, if you descend deep enough into the 
> dependencies (e.g. Apache, MySQL, etc.), you could resolve all of that, but 
> I would predict the loss of at least some sanity.

Oh yeah.  I descended into that recursive existence before.  No thanks. 
  Dealing with CPAN dependencies is enough.

> Hope that helps,

It does.

> --
> DB
> _______________________________________________
> Pdx-pm-list mailing list
> Pdx-pm-list at pm.org
> http://mail.pm.org/mailman/listinfo/pdx-pm-list

More information about the Pdx-pm-list mailing list