MailScanner, CentOS 5 and perl-IO & perl-File-Temp

Mark Nienberg lists at tippingmar.com
Tue Apr 14 04:59:39 IST 2009


Mark Sapiro wrote:
> Julian Field wrote:
>   
>> I'm nearly there :) This is taking a hell of a lot of work on the 
>> installer, but will solve all the upgrade problems once and for all. 
>> There are interesting things like the fact that RedHat got the module 
>> path @INC totally wrong in their release of Perl in RHEL 5, with the 
>> result that a lot of modules simply cannot be over-ridden without doing 
>> a "forced" install of files to overwrite stuff in their RPM, unless of 
>> course you mess with @INC at the start of your Perl program (which is 
>> what I have done) so that the vendor and site-specific directories 
>> actually get consulted before the core Perl system directories.
>>     
>
>
> It appears this may no longer be the case with the RedHat rpm. I just
> did a yum upgrade to perl.i386 4:5.8.8-18.el5_3.1, and I get
>
> [mark at sbh16 ~]$ perl -e 'foreach $d ( @INC ) {print $d . "\n";}'
> /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.8
> /usr/lib/perl5/site_perl/5.8.7
> /usr/lib/perl5/site_perl/5.8.6
> /usr/lib/perl5/site_perl/5.8.5
> /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.8
> /usr/lib/perl5/vendor_perl/5.8.7
> /usr/lib/perl5/vendor_perl/5.8.6
> /usr/lib/perl5/vendor_perl/5.8.5
> /usr/lib/perl5/vendor_perl
> /usr/lib/perl5/5.8.8/i386-linux-thread-multi
> /usr/lib/perl5/5.8.8
> .
>
>   
Hmm, I have not yet upgraded perl and I get the similar results.  I 
wonder when it changed and why Julian thinks it hasn't.

[mark at tesla ~]$ rpm -q perl
perl-5.8.8-15.el5_2.1

[mark at tesla ~]$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
-snip-
Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
                        PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT
                        USE_ITHREADS USE_LARGE_FILES USE_PERLIO
                        USE_REENTRANT_API
  Built under linux
  Compiled at Sep 17 2008 13:37:41
  @INC:
    /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
    /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi
    /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi
    /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.8
    /usr/lib/perl5/site_perl/5.8.7
    /usr/lib/perl5/site_perl/5.8.6
    /usr/lib/perl5/site_perl/5.8.5
    /usr/lib/perl5/site_perl
    /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
    /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi
    /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi
    /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.8
    /usr/lib/perl5/vendor_perl/5.8.7
    /usr/lib/perl5/vendor_perl/5.8.6
    /usr/lib/perl5/vendor_perl/5.8.5
    /usr/lib/perl5/vendor_perl
    /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi
    /usr/lib/perl5/5.8.8
    .

Mark Nienberg


More information about the MailScanner mailing list