Problems installing mailscanner - Can't locate Archive/Zip.pm

Schmitt, Andy C - CIDD-2 acschmitt at BPA.GOV
Fri Mar 26 19:51:09 GMT 2004


I actually downloaded it from the cpan.org website, untarred, and ran "perl Makefile.PL; make; make install" on the content. It's a viable workaround if you want to try it and are in a hurry. Just keep in mind that you don't get dependencies using this method, so you'll have to download Compress::Zlib and compile it the same way, first.

Andy Schmitt

-----Original Message-----
From: Allan Bruce [mailto:allanmb at F2S.COM]
Sent: Friday, March 26, 2004 11:32 AM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Problems installing mailscanner - Can't locate Archive/Zip.pm


I am trying to install MailScanner, and when I run

    /opt/MailScanner/bin/check_mailscanner

I get the following error:

Can't locate Archive/Zip.pm in @INC (@INC contains: /opt/MailScanner/lib /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl . /opt/MailScanner/lib) at /opt/MailScanner/lib/MailScanner/Message.pm line 46.
BEGIN failed--compilation aborted at /opt/MailScanner/lib/MailScanner/Message.pm line 46.
Compilation failed in require at /opt/MailScanner/bin/MailScanner line 52.
BEGIN failed--compilation aborted at /opt/MailScanner/bin/MailScanner line 52.

Can somebody please tell me how I can reslolve this? I am new to perl, so I have no idea how to fix this.  I had a problem with Net/CIDR.pm and a google search told me to install it by:

    perl -MCPAN -e 'install Net::CIDR'

I have tried this for the Archive/Zip.pm but it doesn't work.  I just get:

    Can't locate object method "install" via package "Archive::Zip" at -e line 1.

Any ideas?
Thanks
Allan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20040326/65d4584b/attachment.html


More information about the MailScanner mailing list