problem starting MailScanner: dual perl config on raq4
lists at kush-t.co.uk
Tue Oct 24 17:18:56 IST 2006
> Pete Smith spake the following on 10/24/2006 4:54 AM:
> > Hi all
> > I have a problem starting MailScanner on a raq4. The raq has all updates
> > installed.
> > I've gone down the route of installing perl5.8 in /usr/local/bin as the
> > original perl is still required in /usr/bin (raq admin interface breaks
> > perl is updated).
> > I carefully followed the instructions at
> > http://www.qitc.net/support/mailscanner/
> > but when I get to staring MailScanner, it pukes with the following
> > MailScanner: Can't locate Time/HiRes.pm in @INC (@INC
> > contains: /usr/lib/MailScanner /usr/lib/perl5/5.00503/i386-
> > linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-
> > linux /usr/lib/perl5/site_perl/5.005 . /usr/lib/MailScanner)
> > at /usr/sbin/MailScanner line 65.
> > BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 65.
> > This looks like more of a perl issue than a MailScanner one. However,
> > as this list is likely populated by people who have had this issue
> > thought I'd ask here.
> > Anyone care to poke me gently in the right direction?
> > BTW, I've RTFM and STFW but can't find any answer that doesn't say "why
> > you using a raq" or "use centos" or somesuch.
> > TIA
> > Pete Smith
> There is this howto;
> If you are in need of something newer for your raq4, you can try
> It is CentOS with the open sourced raq frontends.
Yup, those are the same as the instructions I followed. I think it's the
dual perl install that is the problem.
As far as I am aware I installed Time::HiRes with perl 5.8, but when I
attempt to start MailScanner it pukes with:
MailScanner: Can't locate Time/HiRes.pm in @INC (@INC
contains: /usr/lib/MailScanner /usr/lib/perl5/5.00503/i386-
linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-
linux /usr/lib/perl5/site_perl/5.005 . /usr/lib/MailScanner)
at /usr/sbin/MailScanner line 65.
BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 65.
which makes me think it's trying to use /usr/bin/perl instead
How do I install MailScanner so it uses /usr/local/bin/perl ?
More information about the MailScanner