....
 

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

Amavis Mailing List Archive

From: Mark Martinec (Mark.Martinec+amavis@ijs.si)
Date: Fri Dec 17 2004 - 19:50:52 EST


Bill,

> 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

Mine doesn't complain:
  perl -le 'use MIME::Decoder::BinHex; print MIME::Decoder::BinHex->VERSION'
  5.415

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

Perhaps this is your problem, you are keeping all the
legacy versions of Perl modules in your @INC.
It is asking for trouble.

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

Mark

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