Guardian Digital Inc. >
InfoCenter >
Mailing List Archives >
Amavis
Amavis Mailing List Archive
----- Original Message -----
From: "Gary Verchick" <lists@johnmecham.com>
To: <amavis-user@lists.sourceforge.net>
Sent: Friday, December 17, 2004 8:21 PM
Subject: Re: [AMaViS-user] 2.2.1-rc1 on Debian looking for
MIME::Decoder::BinHex
> Gary wrote:
> >>> If so, the problem must be elsewhere but I don't know where.
>
> >>> Mark
>
> >> Line 44 of Binhex.pm :
> >> use Convert::BinHex;
>
> > It appears to me that Convert::BinHex should possibly be
> > included in MIME-Tools, but is not. Maybe the author could
> > not get it to compile either.
>
> I have been poking around the source code for Convert::BinHex
> and although I'm not a Perl programmer, it appears to me that
> the code for 'make test' has errors in it as reported during
> 'make test'. I have a feeling the code for the module itself is OK,
> just the code that performs the test is messed up.
>
> The /Convert/BinHex.pm that I did a CPAN 'force install Convert::BinHex'
> is the same as the /Convert/BinHex.pm that I installed via:
> apt-get install libconvert-binhex-perl.
>
> There was no output from:
> diff /usr/local/share/perl/5.8.4/Convert/BinHex.pm
/usr/share/perl5/Convert/BinHex.pm
>
> Therefore, I believe it is safe to do a 'force install' from CPAN
> (or skip 'make test' if compiling from source)
>
> Mark, do you think this module should be required and maybe a note
> to do a 'force install' or skip 'make test'?
Here is a little patch I found at
http://www.sng.ecs.soton.ac.uk/mailscanner/serve/cache/307.html:
*** Convert-BinHex-1.119.ori/t/Checker.pm 2004-06-08
05:49:44.960015512 +0200
--- Convert-BinHex-1.119/t/Checker.pm 2004-06-08 05:50:05.415905744 +0200
***************
*** 1,4 ****
--- 1,5 ----
package Checker;
+ require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw($CHECK okay_if note check filter_warnings);
After patching Checker.pm, the "make test" and "make install" went fine, and
now
perl -e 'use MIME::Decoder::BinHex; print
$MIME::Decoder::BinHex::VERSION,"\n"'
comes back with the version number (5.415) instead of a compile error.
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/
|