[Mimedefang] MIME-Base64-3.03 and Fedora Core, possibly other Linux distributions

Tomasz Ostrowski tometzky at batory.org.pl
Thu Sep 23 07:33:56 EDT 2004


>From mimedefang-2.45 README:

| 4. MIME-BASE64 NOTE
| -------------------
| 
| Version 5.113 or higher of MIME::Tools requires MIME::Base64 version
| 3.03 or higher.  Many Linux distributions include an old version
| of MIME::Base64 in the core Perl distribution.  In order to
| install a new version of MIME::Base64 without upsetting your Linux
| updating tools (like up2date or the equivalent), you should download
| MIME::Base64 3.03 or newer and build as follows:
| 
|         tar xvfz MIME-Base64-VERSION.tar.gz
|         cd MIME-Base64-VERSION
|         perl Makefile.PL INSTALLDIRS=site
|         make
|         make install

This does not work - core Perl MIME-Base64 is used anyway because
Fedora Core and, I suppose, other linux distributions have
"site-perl" directories after core Perl directories in @INC:
| $perl -e 'use foo;'
| Can't locate foo.pm in @INC (@INC contains:
| /usr/lib/perl5/5.8.3/i386-linux-thread-multi
^^^^^^ this is where core MIME::Base64 is
| /usr/lib/perl5/5.8.3
| /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
^^^^^^ this is where MIME::Base64 3.05 will be installed
| /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.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.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.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 -e line 1.
| BEGIN failed--compilation aborted at -e line 1.

It's impossible to install MIME::Base64 3.05 without breaking Perl
package and it is impossible to creating MIME::Base64 package. The
only way to do it right is creating new Perl package with bundled
MIME::Base64 3.05.

I'd suggest, if it is possible, to rewrite MIME::tools that it will
not depend on MIME::Base64 3.05 until major linux distributions
include it. I know that MIME::tools maintainer is also from
RoaringPenguin.

Regards
Tometzky
-- 
...although Eating Honey was a very good thing to do, there was a
moment just before you began to eat it which was better than when you
were...
                                                      Winnie the Pooh



More information about the MIMEDefang mailing list