Raq 4 Problem

Darren Walker darren at TORSION.CO.UK
Tue May 24 22:08:48 IST 2005


Hi Julian,

I commented out those lines, and then tried again, but then I got messages
to say that other perl modules werent installed or couldn't be found. I
found a manual on cpan, and installed all the modules supplied with
mailscanner that I could find manually.

After which I reinstalled MailScanner but now I get the following error
---SNIP-----
    Can't locate MIME/Parser.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/lib/MailScanner/MailScanner/MCPMessage.pm line
40.
BEGIN failed--compilation aborted at
/usr/lib/MailScanner/MailScanner/MCPMessage.pm line 40.
BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 73.


---SNIP---

I have checked that the file and directory are present and I can read the
file. I have updated the MIME/Parser.pm via cpan. 

I have removed mailscanner 'rpm -e mailscanner' and then reinstalled it but
all to no avail.

Im stuck, I was going to try an older copy of MailScanner, but would rather
use a later version if possible.

Cheers

Darren

-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf
Of Julian Field
Sent: 24 May 2005 12:16
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: Raq 4 Problem


You can probably do quite happily without the "use bytes" or "require
bytes.pm" lines.

cd /usr/lib/MailScanner/MailScanner
grep 'use bytes' *pm

Comment out the line in Log.pm and both of the lines in Message.pm.

Then stop and restart MailScanner.

On 24 May 2005, at 11:55, Darren Walker-Torsion wrote:

> Hi,
>
> I had a problem last year when I was installing a Raq4 with 
> MailScanner and F-Prot.
> I have had the same problem, in that the perl files wont autoinstall,
> so Julian sent me a MCPAN command to install them manually.
>
> I installed the latest version MailScanner, after manually installing 
> CIDR via MCPAN using the command
>
> perl -MCPAN -e 'install Net::CIDR'
>
>
> but now I get this error message
> -----SNIP-----
> Starting MailScanner daemons:
>          incoming sendmail: ok
>          outgoing sendmail: ok
>          MailScanner:       Can't locate bytes.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/lib/MailScanner/MailScanner/Log.pm line 139. BEGIN 
> failed--compilation aborted at /usr/lib/MailScanner/MailScanner/Log.pm 
> line 139. BEGIN failed--compilation aborted at /usr/sbin/MailScanner 
> line 67.
> -----SNIP-----
>
> One of the problems with the Raq is that it has an old copy of perl 
> installed and I cant replace it, because the GUI breaks, I have run 
> the installer with the 'ignore-perl' option but I am still having the 
> same problem.
>
> Any thoughts please?
>
> Thanks
>
> Darren
>
>
> --
> This message has been scanned for viruses and
> dangerous content by Torsion Internet 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!
>
>

--
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

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

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