Different versions of perl - Redhat

This is a discussion on Different versions of perl - Redhat ; I have a RH9 machine which has had perl installed. I attempted to update perl however I have successfully installed 3 copies (accidently) and now im getting errors. Currently I have 5.8.0, 5.8.3 and 5.8.4 installed. Sendmail refuses to run ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Different versions of perl

  1. Different versions of perl

    I have a RH9 machine which has had perl installed. I attempted to update
    perl however I have successfully installed 3 copies (accidently) and now im
    getting errors. Currently I have 5.8.0, 5.8.3 and 5.8.4 installed.
    Sendmail refuses to run using mimedefang due to the below error. I have
    also attempted to add the other perl directories using "perl -Idirectory
    /usr/yadda/5.8.3". This appears to have no effect. I have also attempted
    to remove the versions of perl. The RPM version using "rpm -e perl" which
    gives me errors about dependencies and the others were tar make installes.
    Can someone help me clean this one up. I have tried googling.

    May 9 15:29:58 LINUXBOX mimedefang-multiplexor: Slave 2 stderr: Can't
    locate Mail/Header.pm in @INC (@INC contains:
    /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
    /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
    /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at
    /usr/lib/perl5/site_perl/5.8.0/MIME/Head.pm line 117. BEGIN
    failed--compilation aborted at /u
    May 9 15:29:58 LINUXBOX mimedefang-multiplexor: Slave 2 stderr:
    sr/lib/perl5/site_perl/5.8.0/MIME/Head.pm line 117. Compilation failed in
    require at /usr/lib/perl5/site_perl/5.8.0/MIME/Parser.pm line 144. BEGIN
    failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/MIME/Parser.pm
    line 144. Compilation failed in require at /usr/local/bin/mimedefang.pl line
    151. BEGIN failed--compilation aborted at /usr/local/bin/mimedefang.pl line
    151.
    May 9 15:29:58 LINUXBOX mimedefang-multiplexor: Reap: Idle slave 2 (pid
    22277) exited normally with status 2 (SLAVE DIED UNEXPECTEDLY)



  2. Re: Different versions of perl

    JJ wrote:

    > I have a RH9 machine which has had perl installed. I attempted
    > to update perl however I have successfully installed 3 copies
    > (accidently) and now im
    > getting errors. Currently I have 5.8.0, 5.8.3 and 5.8.4
    > installed.
    > Sendmail refuses to run using mimedefang due to the below
    > error. I have also attempted to add the other perl directories
    > using "perl -Idirectory
    > /usr/yadda/5.8.3". This appears to have no effect. I have
    > also attempted
    > to remove the versions of perl. The RPM version using "rpm -e
    > perl" which gives me errors about dependencies and the others
    > were tar make installes.
    > Can someone help me clean this one up. I have tried googling.
    >
    > May 9 15:29:58 LINUXBOX mimedefang-multiplexor: Slave 2
    > stderr: Can't locate Mail/Header.pm in @INC (@INC contains:
    > /usr/lib/perl5/5.8.0/i386-linux-thread-multi
    > /usr/lib/perl5/5.8.0
    > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
    > /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
    > /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
    > /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
    > /usr/lib/perl5/5.8.0/i386-linux-thread-multi
    > /usr/lib/perl5/5.8.0 .) at
    > /usr/lib/perl5/site_perl/5.8.0/MIME/Head.pm line 117. BEGIN
    > failed--compilation aborted at /u
    > May 9 15:29:58 LINUXBOX mimedefang-multiplexor: Slave 2
    > stderr: sr/lib/perl5/site_perl/5.8.0/MIME/Head.pm line 117.
    > Compilation failed in require at
    > /usr/lib/perl5/site_perl/5.8.0/MIME/Parser.pm line 144. BEGIN
    > failed--compilation aborted at
    > /usr/lib/perl5/site_perl/5.8.0/MIME/Parser.pm line 144.
    > Compilation failed in require at /usr/local/bin/mimedefang.pl
    > line 151. BEGIN failed--compilation aborted at
    > /usr/local/bin/mimedefang.pl line 151.
    > May 9 15:29:58 LINUXBOX mimedefang-multiplexor: Reap: Idle
    > slave 2 (pid 22277) exited normally with status 2 (SLAVE DIED
    > UNEXPECTEDLY)


    This is a perl problem not RedHat. You're probably best reposting
    to comp.lang.perl.misc

    Having said that I think it's a problem with your mimedefang
    module. Are you sure it's installed on your system? How and
    where?


+ Reply to Thread