After having reinstalled perl and mailscanner, I get these errors?

Julian Field MailScanner at ecs.soton.ac.uk
Sun Nov 27 17:39:29 GMT 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. ]

Eek, that's a mess.
Do
/usr/bin/perl -v
/usr/local/bin/perl -v

You might need to set
export PATH=/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin
./install.sh

If that works, you will want to change the first line of 
/usr/sbin/MailScanner to
#!/usr/local/bin/perl

I don't guarantee that will make it all work, but it's worth a try. Have 
multiple versions of Perl on a box is asking for trouble if you don't 
know what you're doing well enough. (No insult intended)

smhickel wrote:

> Not sure what is really going on. Had issues removing perl 5.8.0 as I 
> had installed perl 5.8.7 without doing make distclean. So, I am not 
> sure if I should just rebuild this box from scratch or if there is a 
> way to recover. Thoughts?
>
>  
>
> Steve
>
>  
>
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" 
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
>
> t/test....Can't locate IO/Wrap.pm in @INC (@INC contains: 
> /usr/src/redhat/BUILD/Convert-TNEF-0.17/blib/lib 
> /usr/src/redhat/BUILD/Convert-TNEF-0.17/blib/arch 
> /usr/local/lib/perl5/5.8.7/i686-linux /usr/local/lib/perl5/5.8.7 
> /usr/local/lib/perl5/site_perl/5.8.7/i686-linux 
> /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl 
> /usr/local/lib/perl5/vendor_perl/5.8.7/i686-linux 
> /usr/local/lib/perl5/vendor_perl/5.8.7 
> /usr/local/lib/perl5/vendor_perl /usr/bin .) at 
> /usr/src/redhat/BUILD/Convert-TNEF-0.17/blib/lib/Convert/TNEF.pm line 26.
>
> BEGIN failed--compilation aborted at 
> /usr/src/redhat/BUILD/Convert-TNEF-0.17/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 Stat Wstat Total Fail  Failed  List of Failed
>
> -------------------------------------------------------------------------------
>
> t/test.t       2   512    12   23 191.67%  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.6779 (%build)
>
>  
>
>  
>
> RPM build errors:
>
>     Bad exit status from /var/tmp/rpm-tmp.6779 (%build)
>
>  
>
> /BUILD/Archive-Zip-1.14/blib/lib/Archive/Zip.pm line 24.
>
> BEGIN failed--compilation aborted at 
> /usr/src/redhat/BUILD/Archive-Zip-1.14/blib/lib/Archive/Zip.pm line 24.
>
> Compilation failed in require at t/testUpdate.t line 11.
>
> BEGIN failed--compilation aborted at t/testUpdate.t line 11.
>
> t/testUpdate........dubious
>
>         Test returned status 2 (wstat 512, 0x200)
>
> FAILED--5 test scripts could be run, alas--no output ever seen
>
> make: *** [test_dynamic] Error 2
>
> error: Bad exit status from /var/tmp/rpm-tmp.49408 (%build)
>
>  
>
>  
>
> RPM build errors:
>
>     Bad exit status from /var/tmp/rpm-tmp.49408 (%build)
>
>  
>
>  
>
> And,
>
>  
>
>  
>
> Preparing...                
> ########################################### [100%]
>
>         package mailscanner-4.47.4-2 is already installed
>
> Please buy the MailScanner book from www.mailscanner.info!
>
> It is a very useful administration guide and introduction
>
> to MailScanner. All the proceeds go directly to making
>
> MailScanner a better supported package than it is today.
>
>  
>
> [root at mailscan MailScanner-4.47.4-2]# service MailScanner start
>
> Starting MailScanner daemons:
>
>          MailScanner:       Can't locate Net/CIDR.pm in @INC (@INC 
> contains: /usr/lib/MailScanner /usr/local/lib/perl5/5.8.7/i686-linux 
> /usr/local/lib/perl5/5.8.7 
> /usr/local/lib/perl5/site_perl/5.8.7/i686-linux 
> /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl 
> /usr/local/lib/perl5/vendor_perl/5.8.7/i686-linux 
> /usr/local/lib/perl5/vendor_perl/5.8.7 
> /usr/local/lib/perl5/vendor_perl /usr/bin . /usr/lib/MailScanner) 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.
>
>                                                            [  OK  ]
>
>
> ------------------------ 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!*


-- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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