....
 

Guardian Digital Inc. > InfoCenter > Mailing List Archives > Amavis

Amavis Mailing List Archive

From: Bill Landry (billl@pointshare.com)
Date: Fri Dec 17 2004 - 14:27:42 EST


----- Original Message -----
From: "Mark Martinec" <Mark.Martinec+amavis@ijs.si>

> Gary and others,
>
> > ERROR: MISSING REQUIRED BASIC MODULES:
> > MIME::Decoder::BinHex
> > I have Debian's libmime-perl 5.415-1 installed via apt-get
> > which should contain MIME::Decoder::BinHex
> >
> > and CPAN shows MIME::Decoder::BinHex is up to date.
> >
> > However, when I install Debian's libconvert-binhex-perl
> > which is equivalent to Convert::BinHex, the error message goes away.
> >
> > So at first glance it appears the error message is not giving
> > the correct package name and possibly Convert::BinHex should
> > be listed as a required module.
>
>
> I just checked the CPAN, and the MIME-tools-5.415
> does contain the MIME/Decoder/BinHex.pm .
>
> I don't think it has anything to do with Convert::BinHex.
>
> I made it optional in -rc2 to avoid surprises,
> although I don't know really where it gets missing.
> I somehow got it automatically out of the box,
> but I don't know for how long it is being around.

For what it's worth, maybe MIME::Decoder::BinHex cannot be queried for
directly. I can query the version by:

perl -MExtUtils::MakeMaker -le 'print MM->parse_version($ARGV[0])'
/usr/lib/perl5/site_perl/5.8.5/MIME/Decoder/BinHex.pm
5.415

And can query the version of MIME::Decoder by:
perl -e 'use MIME::Decoder; print $MIME::Decoder::VERSION,"\n"'
5.415

However, if I try to query the version of MIME::Decoder::BinHex, I get:
perl -e 'use MIME::Decoder::BinHex; print
$MIME::Decoder::BinHex::VERSION,"\n"'
Can't locate Convert/BinHex.pm in @INC (@INC contains:
/usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl .) at
/usr/lib/perl5/site_perl/5.8.5/MIME/Decoder/BinHex.pm line 44.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.5/MIME/Decoder/BinHex.pm line 44.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

Don't know why it's initially looking for "Convert/BinHex.pm" instead of
"MIME/Decoder/BinHex.pm" in the last query above, nor why the compile is
eventually aborted at
"/usr/lib/perl5/site_perl/5.8.5/MIME/Decoder/BinHex.pm" when queried this
way, but does not abort in my first query shown above.

Bill

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/



[ About Guardian Digital ] - [ Press Center ] - [ Contact Us ] - [ System Activation ] - [ Reseller Info ] - [ Online Store ] - [ Site Map ]
Copyright (c) 2000 - 2004 Guardian Digital, Inc. Linux Lockbox and EnGarde are Trademarks of Guardian Digital, Inc.