perl(Archive::Zip) is needed by mailscanner-4.44.6-1

Ryan Weaver ryanw at FALSEHOPE.COM
Tue Aug 2 17:37:03 IST 2005


 

> -----Original Message-----
> From: MailScanner mailing list 
> [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of Alex Neuman 
> van der Hans
> Sent: Tuesday, August 02, 2005 10:21 AM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: perl(Archive::Zip) is needed by mailscanner-4.44.6-1
> 
> Carl Boberg wrote:
> 
> >Hi,
> >I have the same error. Install works fine with ./install.sh 
> nodeps and
> >MailScanner works ok after that.
> >
> >>-----Original Message-----
> >>From: MailScanner mailing list 
> >>[mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of BG Mahesh
> >>Sent: den 2 augusti 2005 12:26
> >>To: MAILSCANNER at JISCMAIL.AC.UK
> >>Subject: Re: perl(Archive::Zip) is needed by mailscanner-4.44.6-1
> >>
> >>----- Original Message -----
> >>From: "Julian Field" <MailScanner at ECS.SOTON.AC.UK>
> >>
> >>>Install Archive::Zip using CPAN and see if that clears the error.
> >>>      
> >>>
> >># perl -MCPAN -e "install Archive::Zip"
> >>        Can't locate object method "install" via package 
> >>"Archive::Zip" at -e line 1.
> >>
> >>>Is there a chance you have 2 copies of perl installed?
> >>>
> >>Nops..just one
> >>
> >># whereis perl
> >>perl: /usr/bin/perl /usr/local/bin/perl 
> /usr/share/man/man1/perl.1.gz
> >>
> >># ls -al /usr/bin/perl /usr/local/bin/perl
> >>lrwxrwxrwx    1 root     root           19 Mar  5  2004 
> >>/usr/bin/perl -> /usr/local/bin/perl
> >>-rwxr-xr-x    2 root     root      1004651 Mar  5  2004 
> >>/usr/local/bin/perl
> >>
> >>>On 2 Aug 2005, at 07:52, BG Mahesh wrote:
> >>>
> >>>>I have installed Archive-Zip-1.16. The error message I get while 
> >>>>installing MS 4.44.6-1 is,
> >>>>
> >>>>Oh good, module Convert::TNEF version 0.17 is already installed.
> >>>>Oh good, module Compress::Zlib version 1.34 is already installed.
> >>>>Oh good, module Archive::Zip version 1.14 is already installed.
> >>>>
> >>>>Installing tnef decoder
> >>>>
> >>>>Preparing...                 
> >>>>########################################### [100%]
> >>>>        package tnef-1.2.3.1-1 is already installed
> >>>>
> >>>>Now to install MailScanner itself.
> >>>>
> >>>>error: Failed dependencies:
> >>>>        perl(Archive::Zip) is needed by mailscanner-4.44.6-1
> >>>>
> >>>>
> >>extra 20MB  
> >>    
> >>
> >
> I've almost always had problems installing MailScanner from the rpm 
> install because it seems to depend on RPM versions of CPAN modules. I 
> always make it a point to untar the rpm.tar.gz file, install 
> each module I see listed as "perl-blahblah.src.rpm" from CPAN
> (just in case) and then run the install. After the install chokes
> (which is 9 times out of 10) because of some "I need perl-blahblah-rpm"
> I then try to install the supposedly missing modules (I know they're
> there, I just installed them from CPAN!) using
> up2date/yum/apt/urpmi/whatever; if that doesn't work, 
> I go out and look for it on rpm search sites or that rpmpan 
> place. If I *don't* find it for any reason, I just "rpm -Uvh 
> mailscanner-whatever.rpm --nodeps" since I *know* the modules are 
> present - especially when MailScanner -V reports them as existing and 
> equal or newer than the ones that came with the rpms when I 
> run it right after the install. It's kind of "the nuisance I've
> learned to live with" since I've never been stopped from getting
> mailscanner working because of it.

Fortunately, DAG (http://dag.wieers.com) has the CPAN modules as rpms that
MailScanner needs. Using yum to keep those installed/updated I've never had
a problem with the rpm installation of MailScanner

Thanks,
Ryan

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