[Mimedefang] Re: MIMEDefang 2.45 compile errors ??

Simon Standley Si at yacc.co.uk
Mon Sep 27 11:56:26 EDT 2004


I get the same error on RedHat 9 (previously running MD 2.44) and BSDi (previously running MD 2.43 and 2.35). 

In both cases, all previous stuff built from source 'by hand' (as opposed to via CPAN).

wacky thing is that if I run code from 'configure' that causes error from command line, I get no error. Following examples from Redhat 9:

# ( echo "use lib '/usr/local/lib/perl5/site_perl/5.8.0'; use MIME::WordDecoder" ; echo "exit(0);" ) | perl
#

Here's the order in which libs are searched:

# perl -MBOLX -e 1
Can't locate BOLX.pm in @INC (@INC contains: /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 /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .).
BEGIN failed--compilation aborted.

and here's a list of all other WordDecoder modules on the system:

# find / -name 'WordDecoder.pm' -print
/usr/lib/perl5/site_perl/5.8.0/MIME/WordDecoder.pm
/usr/local/src/MIME-tools-5.413/lib/MIME/WordDecoder.pm
#

... and this appears to be the one we all hope it is ...
# diff /usr/local/src/MIME-tools-5.413/lib/MIME/WordDecoder.pm /usr/lib/perl5/site_perl/5.8.0/MIME/WordDecoder.pm
#

I can make things work by setting '--disable-check-perl-modules' on configure, but don't feel happy doing so!

Hope that extra info helps.

-----Original Message-----

Date: Sat, 25 Sep 2004 18:55:34 -0400
From: mimedefang at bierling.net
Subject: [Mimedefang] Re: MIMEDefang 2.45 compile errors ??
To: mimedefang at lists.roaringpenguin.com
Message-ID: <4155F766.3070105 at bierling.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

 >> Just tried to update to the new MIMEDEFANG 2.45 but after updating 
also to
 >> MIME-tools-5.413 from David I get the following error.

 >> checking for Perl module MIME::WordDecoder... configure: WARNING: *** 
Error
 >> trying to use Perl module MIME::WordDecoder


>This is the same error I'm getting.  Is there any solution?

>RedHat 8.0.  Also running latest stuff from CPAN.

-Joel

------------------------------





More information about the MIMEDefang mailing list