installation trouble RH7.2

Meryll Larkin mll at SEA.ALASKAMARITIME.COM
Wed Jul 13 00:46:29 IST 2005


    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

7/12/05

Thanks for reading.  Suggestions appreciated.  If you are going to tell me to read documentation, please be specific about which documentation where.  I tried unsuccessfully to find some applicable docs myself before sending this.  I will read.

The server I am attempting to install MailScanner on has:
RedHat v 7.2
perl, v5.6.0 built for i386-linux
sendmail

This is already a working mail relay server on the WAN but not the primary mailserver so it does not have Spamassasin, etc....  the WAN mail server does.  I've previously installed MailScanner on 4 other servers with no problems (following same directions), but I installed earlier versions of MailScanner.  I am using MailScanner solely for the function of being able to route outgoing email server-side.

I first attempted to install the newest stable MailScanner version:
MailScanner-4.43.8-1.rpm.tar.gz

I got the following error during install:

   Can't locate object method "cmd_head3" via package "Pod::Man" at /usr/lib/perl5/
   5.6.0/Pod/Man.pm line 463, <GEN2> line 30.
   make: *** [manifypods] Error 2
   error: Bad exit status from /var/tmp/rpm-tmp.48087 (%build)

   RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.48087 (%build)

   Missing file /usr/src/redhat/RPMS/noarch/perl-ExtUtils-MakeMaker-6.30-1.noarch.rpm.
   Maybe it did not build correctly?

Well, turns out Man.pm does not have a sub cmd_head3 in the Man.pm that comes with Perl 5.6.  For that, I would need Perl 5.8.  I thought of upgrading Perl but after searching the Web and seeing all the trouble others had trying to upgrade Perl on RH7.2, I thought maybe I would just uninstall MailScanner new version and install MailScanner known good old version.

Unfortunately, that did not work.  At this point it looks like the MailScanner install is not completely undone by 
  rpm -e mailscanner-4.43.8-1

The error I get when I try to start the service, looks like this:

         MailScanner:  Can't locate Net/CIDR.pm in @INC (
  @INC contains: 
    (list of paths including the one that CIDR.pm is on
     which is
     /usr/lib/site_perl/5.6.0/Net/CIDR.pm) 
   at 
  /usr/lib/MailScanner/MailScanner/Config.pm line 34.
  BEGIN failed--compilation aborted at /usr/lib/MailScanner/MailScanner/Config.pm line 34.
  Compilation failed in require at /usr/sbin/MailScanner line 64.
  BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 64.

The error I got when I tried installing an earlier version after I thought I had removed the newest version looks like this:

Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------
t/Body.t          2   512    ??   ??       %  ??
t/Decoder.t       2   512    ??   ??       %  ??
t/Entity.t        2   512    ??   ??       %  ??
t/Gauntlet.t      2   512    ??   ??       %  ??
t/Head.t          2   512    ??   ??       %  ??
t/Misc.t          2   512    ??   ??       %  ??
t/Parser.t        2   512    ??   ??       %  ??
t/Ref.t           2   512    ??   ??       %  ??
Failed 8/10 test scripts, 20.00% okay. 0/20 subtests failed, 100.00% okay.
make: *** [test_dynamic] Error 29
error: Bad exit status from /var/tmp/rpm-tmp.61130 (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.61130 (%build)

Missing file /usr/src/redhat/RPMS/noarch/perl-MIME-tools-5.411-pl4.3.noarch.rpm.
Maybe it did not build correctly?

BEGIN failed--compilation aborted at blib/lib/Convert/TNEF.pm line 26.
Compilation failed in require at t/test.t line 11.
BEGIN failed--compilation aborted at t/test.t line 11.
t/test..............dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-12
        Failed 12/12 tests, 0.00% okay
Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------
t/test.t          2   512    12   12 100.00%  1-12
Failed 1/1 test scripts, 0.00% okay. 12/12 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.89332 (%build)


Meryll Larkin
System Administrator

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list