Mailscanner perl modules

Chris Connell chris at ISSOLUTIONS.CO.UK
Wed Mar 10 12:30:04 GMT 2004


Hi,

I have had this problem since day one of installing Mailscanner solaris 9
and it haunted me when I upgraded. For some reason when I built perl etc the
modules go in the following place, (possibly due to that I used perl from
the sunfreeware ?)

usr/local/lib/perl5/site_perl/5.8.0

However when Mailscanner starts it looks somewhere else so I get the
following error when I start it

Can't locate Net/CIDR.pm in @INC (@INC contains: /opt/MailScanner/lib
/usr/perl5/5.6.1/lib/sun4-solaris-64int /usr/perl5/5.6.1/lib
/usr/perl5/site_perl/5.6.1/sun4-solaris-64int /usr/perl5/site_perl/5.6.1
/usr/perl5/site_perl /usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int
/usr/perl5/vendor_perl/5.6.1 /usr/perl5/vendor_perl . /opt/MailScanner/lib)
at /opt/MailScanner/lib/MailScanner/Config.pm line 34.
BEGIN failed--compilation aborted at
/opt/MailScanner/lib/MailScanner/Config.pm line 34.
Compilation failed in require at /opt/MailScanner/bin/MailScanner line 41.
BEGIN failed--compilation aborted at /opt/MailScanner/bin/MailScanner line
41.

The fix is to add the statement

use lib "/usr/local/lib/perl5/site_perl/5.8.0";

in the Mailscanner script, but Im not sure if this is correct. Sometimes the
perl modules go in /usr/local/lib/perl5/site_perl/5.8.0/sun4m-solaris (such
as Compress) could someone tell me what Im doing wrong, and how to put them
all in one (correct) place ?

Thanks

Chris




This communication is from IS Solutions Plc, Windmill House, 91-93 Windmill
Road, Sunbury on Thames, Middlesex, England. This email (including any
attachments) is intended only for the recipient(s) named above. It may
contain confidential or privileged information. If you are not the intended
recipient, please do not read, distribute, copy or otherwise use this
communication or the information in it. Any views or opinions expressed in
this email may be solely those of the author and are not necessarily those
of IS Solutions Plc. Any pricing quoted in this email is offered to the
recipient on a best estimate time and materials basis only. If you have
received this communication in error, please notify us by email
(helpdesk at issolutions.co.uk) or by telephone (+44 (0)1932 893444) and then
delete the email and any copies of it.



More information about the MailScanner mailing list