<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<br>I have the following errors when installing MailScanner-4.05-3. It
seems that
<br>perl-MIME-Base64-2.12-1 was not installed properly. Can anyone
tell me
<br>how to fix it?
<br>
<p>-------------------------------------------------------------------------------------------------------
<p><tt>......</tt><tt></tt>
<p><tt>The important ones are HTML-Parser and MIME-tools.</tt><tt></tt>
<p><tt>Preparing...
########################################### [100%]</tt>
<br><tt>package perl-HTML-Parser-3.26-2 is already installed</tt>
<br><tt></tt>
<br><tt></tt> <tt></tt>
<p><tt>Attempting to build and install perl-MIME-tools-5.411-pl4.2</tt>
<br><tt>Installing perl-MIME-tools-5.411-pl4.2.src.rpm</tt>
<br><tt>Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.70725</tt>
<br><tt>+ umask 022</tt>
<br><tt>+ cd /usr/src/redhat/BUILD</tt>
<br><tt>+ cd /usr/src/redhat/BUILD</tt>
<br><tt>+ rm -rf MIME-tools-5.411</tt>
<br><tt>+ /bin/gzip -dc /usr/src/redhat/SOURCES/MIME-tools-5.411.tar.gz</tt>
<br><tt>+ tar -xf -</tt>
<br><tt>+ STATUS=0</tt>
<br><tt>+ '[' 0 -ne 0 ']'</tt>
<br><tt>+ cd MIME-tools-5.411</tt>
<br><tt>++ /usr/bin/id -u</tt>
<br><tt>+ '[' 0 = 0 ']'</tt>
<br><tt>+ /bin/chown -Rhf root .</tt>
<br><tt>++ /usr/bin/id -u</tt>
<br><tt>+ '[' 0 = 0 ']'</tt>
<br><tt>+ /bin/chgrp -Rhf root .</tt>
<br><tt>+ /bin/chmod -Rf a+rX,g-w,o-w .</tt>
<br><tt>+ echo 'Patch #0 (mime-tools-patch1.txt):'</tt>
<br><tt>Patch #0 (mime-tools-patch1.txt):</tt>
<br><tt>+ patch -p1 -s</tt>
<br><tt>+ echo 'Patch #1 (mime-tools-patch2.txt):'</tt>
<br><tt>Patch #1 (mime-tools-patch2.txt):</tt>
<br><tt>+ patch -p1 -s</tt>
<br><tt>+ echo 'Patch #2 (mime-tools-patch3.txt):'</tt>
<br><tt>Patch #2 (mime-tools-patch3.txt):</tt>
<br><tt>+ patch -p1 -s</tt>
<br><tt>+ echo 'Patch #3 (mime-tools-patch4.txt):'</tt>
<br><tt>Patch #3 (mime-tools-patch4.txt):</tt>
<br><tt>+ patch -p1 -s</tt>
<br><tt>+ exit 0</tt>
<br><tt>Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.70725</tt>
<br><tt>+ umask 022</tt>
<br><tt>+ cd /usr/src/redhat/BUILD</tt>
<br><tt>+ cd MIME-tools-5.411</tt>
<br><tt>+ CFLAGS=-O2 -march=i386 -mcpu=i686</tt>
<br><tt>+ perl Makefile.PL PREFIX=/var/tmp/perl-MIME-tools-root/usr</tt>
<br><tt>Checking if your kit is complete...</tt>
<br><tt>Looks good</tt>
<br><tt>Warning: prerequisite MIME::Base64 2.04 not found.</tt>
<br><tt>Warning: prerequisite MIME::QuotedPrint 2.03 not found.</tt>
<br><tt>Writing Makefile for MIME-tools</tt>
<br><tt>+ make</tt>
<br><tt>cp lib/MIME/Parser/Filer.pm blib/lib/MIME/Parser/Filer.pm</tt>
<br><tt>cp lib/MIME/Decoder/Base64.pm blib/lib/MIME/Decoder/Base64.pm</tt>
<br><tt>cp lib/MIME/Field/ContDisp.pm blib/lib/MIME/Field/ContDisp.pm</tt>
<br><tt>cp lib/MIME/Parser/Results.pm blib/lib/MIME/Parser/Results.pm</tt>
<br><tt>cp lib/MIME/Decoder/NBit.pm blib/lib/MIME/Decoder/NBit.pm</tt>
<br><tt>cp lib/MIME/WordDecoder.pm blib/lib/MIME/WordDecoder.pm</tt>
<br><tt>cp lib/MIME/Parser/Reader.pm blib/lib/MIME/Parser/Reader.pm</tt>
<br><tt>cp lib/MIME/Decoder/Binary.pm blib/lib/MIME/Decoder/Binary.pm</tt>
<br><tt>cp lib/MIME/Body.pm blib/lib/MIME/Body.pm</tt>
<br><tt>cp lib/MIME/Decoder/UU.pm blib/lib/MIME/Decoder/UU.pm</tt>
<br><tt>cp lib/MIME/Field/ParamVal.pm blib/lib/MIME/Field/ParamVal.pm</tt>
<br><tt>cp lib/MIME/Decoder/Gzip64.pm blib/lib/MIME/Decoder/Gzip64.pm</tt>
<br><tt>cp lib/MIME/Decoder/QuotedPrint.pm blib/lib/MIME/Decoder/QuotedPrint.pm</tt>
<br><tt>cp lib/MIME/Entity.pm blib/lib/MIME/Entity.pm</tt>
<br><tt>cp lib/MIME/Parser.pm blib/lib/MIME/Parser.pm</tt>
<br><tt>cp lib/MIME/Head.pm blib/lib/MIME/Head.pm</tt>
<br><tt>cp lib/MIME/Field/ContType.pm blib/lib/MIME/Field/ContType.pm</tt>
<br><tt>cp lib/MIME/Tools.pm blib/lib/MIME/Tools.pm</tt>
<br><tt>cp lib/MIME/Words.pm blib/lib/MIME/Words.pm</tt>
<br><tt>cp lib/MIME/Decoder.pm blib/lib/MIME/Decoder.pm</tt>
<br><tt>cp lib/MIME/Field/ConTraEnc.pm blib/lib/MIME/Field/ConTraEnc.pm</tt>
<br><tt>Manifying blib/man3/MIME::Field::ContDisp.3pm</tt>
<br><tt>Manifying blib/man3/MIME::Decoder::Base64.3pm</tt>
<br><tt>Manifying blib/man3/MIME::Parser::Filer.3pm</tt>
<br><tt>Manifying blib/man3/MIME::WordDecoder.3pm</tt>
<br><tt>Manifying blib/man3/MIME::Parser::Results.3pm</tt>
<br><tt>Manifying blib/man3/MIME::Decoder::NBit.3pm</tt>
<br><tt>Manifying blib/man3/MIME::Decoder::Binary.3pm</tt>
<br><tt>Manifying blib/man3/MIME::Body.3pm</tt>
<br><tt>Manifying blib/man3/MIME::Parser::Reader.3pm</tt>
<br><tt>Manifying blib/man3/MIME::Decoder::UU.3pm</tt>
<br><tt>Manifying blib/man3/MIME::Decoder::Gzip64.3pm</tt>
<br><tt>Manifying blib/man3/MIME::Field::ParamVal.3pm</tt>
<br><tt>Manifying blib/man3/MIME::Entity.3pm</tt>
<br><tt>Manifying blib/man3/MIME::Decoder::QuotedPrint.3pm</tt>
<br><tt>Manifying blib/man3/MIME::Head.3pm</tt>
<br><tt>Manifying blib/man3/MIME::Parser.3pm</tt>
<br><tt>Manifying blib/man3/MIME::Tools.3pm</tt>
<br><tt>Manifying blib/man3/MIME::Field::ContType.3pm</tt>
<br><tt>Manifying blib/man3/MIME::Words.3pm</tt>
<br><tt>Manifying blib/man3/MIME::Decoder.3pm</tt>
<br><tt>Manifying blib/man3/MIME::Field::ConTraEnc.3pm</tt>
<br><tt>+ make test</tt>
<br><tt>PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t</tt>
<br><tt>t/Body..............ok</tt>
<br><tt>t/Decoder...........Can't locate MIME/Base64.pm in @INC (@INC contains:
./t /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib /usr/src/redhat/BUILD/MIME-tools-5.411/blib/arch
/usr/lib/perl5/5.6.1/i386-linux-thread-multi /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.6.1
/usr/lib/perl5/vendor_perl .) at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Decoder/Gzip64.pm
line 56.</tt>
<br><tt>BEGIN failed--compilation aborted at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Decoder/Gzip64.pm
line 56.</tt>
<br><tt>Compilation failed in require at t/Decoder.t line 20.</tt>
<br><tt>t/Decoder...........dubious</tt>
<br><tt> Test returned status
2 (wstat 512, 0x200)</tt>
<br><tt>t/Entity............Can't locate MIME/Base64.pm in @INC (@INC contains:
./t /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib /usr/src/redhat/BUILD/MIME-tools-5.411/blib/arch
/usr/lib/perl5/5.6.1/i386-linux-thread-multi /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.6.1
/usr/lib/perl5/vendor_perl .) at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Words.pm
line 85.</tt>
<br><tt>BEGIN failed--compilation aborted at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Words.pm
line 85.</tt>
<br><tt>Compilation failed in require at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Head.pm
line 123.</tt>
<br><tt>BEGIN failed--compilation aborted at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Head.pm
line 123.</tt>
<br><tt>Compilation failed in require at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Entity.pm
line 235.</tt>
<br><tt>BEGIN failed--compilation aborted at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Entity.pm
line 235.</tt>
<br><tt>Compilation failed in require at t/Entity.t line 3.</tt>
<br><tt>BEGIN failed--compilation aborted at t/Entity.t line 3.</tt>
<br><tt>t/Entity............dubious</tt>
<br><tt> Test returned status
2 (wstat 512, 0x200)</tt>
<br><tt>t/Gauntlet..........Can't locate MIME/Base64.pm in @INC (@INC contains:
./t /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib /usr/src/redhat/BUILD/MIME-tools-5.411/blib/arch
/usr/lib/perl5/5.6.1/i386-linux-thread-multi /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.6.1
/usr/lib/perl5/vendor_perl .) at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Words.pm
line 85.</tt>
<br><tt>BEGIN failed--compilation aborted at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Words.pm
line 85.</tt>
<br><tt>Compilation failed in require at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Head.pm
line 123.</tt>
<br><tt>BEGIN failed--compilation aborted at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Head.pm
line 123.</tt>
<br><tt>Compilation failed in require at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Parser.pm
line 147.</tt>
<br><tt>BEGIN failed--compilation aborted at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Parser.pm
line 147.</tt>
<br><tt>Compilation failed in require at t/Gauntlet.t line 3.</tt>
<br><tt>BEGIN failed--compilation aborted at t/Gauntlet.t line 3.</tt>
<br><tt>t/Gauntlet..........dubious</tt>
<br><tt> Test returned status
2 (wstat 512, 0x200)</tt>
<br><tt>t/Head..............Can't locate MIME/Base64.pm in @INC (@INC contains:
./t /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib /usr/src/redhat/BUILD/MIME-tools-5.411/blib/arch
/usr/lib/perl5/5.6.1/i386-linux-thread-multi /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.6.1
/usr/lib/perl5/vendor_perl .) at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Words.pm
line 85.</tt>
<br><tt>BEGIN failed--compilation aborted at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Words.pm
line 85.</tt>
<br><tt>Compilation failed in require at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Head.pm
line 123.</tt>
<br><tt>BEGIN failed--compilation aborted at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Head.pm
line 123.</tt>
<br><tt>Compilation failed in require at t/Head.t line 2.</tt>
<br><tt>BEGIN failed--compilation aborted at t/Head.t line 2.</tt>
<br><tt>t/Head..............dubious</tt>
<br><tt> Test returned status
2 (wstat 512, 0x200)</tt>
<br><tt>t/Misc..............Can't locate MIME/Base64.pm in @INC (@INC contains:
./t /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib /usr/src/redhat/BUILD/MIME-tools-5.411/blib/arch
/usr/lib/perl5/5.6.1/i386-linux-thread-multi /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.6.1
/usr/lib/perl5/vendor_perl .) at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Words.pm
line 85.</tt>
<br><tt>BEGIN failed--compilation aborted at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Words.pm
line 85.</tt>
<br><tt>Compilation failed in require at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Head.pm
line 123.</tt>
<br><tt>BEGIN failed--compilation aborted at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Head.pm
line 123.</tt>
<br><tt>Compilation failed in require at t/Misc.t line 2.</tt>
<br><tt>BEGIN failed--compilation aborted at t/Misc.t line 2.</tt>
<br><tt>t/Misc..............dubious</tt>
<br><tt> Test returned status
2 (wstat 512, 0x200)</tt>
<br><tt>t/Parser............Can't locate MIME/Base64.pm in @INC (@INC contains:
./t /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib /usr/src/redhat/BUILD/MIME-tools-5.411/blib/arch
/usr/lib/perl5/5.6.1/i386-linux-thread-multi /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.6.1
/usr/lib/perl5/vendor_perl .) at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Words.pm
line 85.</tt>
<br><tt>BEGIN failed--compilation aborted at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Words.pm
line 85.</tt>
<br><tt>Compilation failed in require at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Head.pm
line 123.</tt>
<br><tt>BEGIN failed--compilation aborted at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Head.pm
line 123.</tt>
<br><tt>Compilation failed in require at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Parser.pm
line 147.</tt>
<br><tt>BEGIN failed--compilation aborted at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Parser.pm
line 147.</tt>
<br><tt>Compilation failed in require at t/Parser.t line 10.</tt>
<br><tt>BEGIN failed--compilation aborted at t/Parser.t line 10.</tt>
<br><tt>t/Parser............dubious</tt>
<br><tt> Test returned status
2 (wstat 512, 0x200)</tt>
<br><tt>t/Ref...............Can't locate MIME/Base64.pm in @INC (@INC contains:
./t /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib /usr/src/redhat/BUILD/MIME-tools-5.411/blib/arch
/usr/lib/perl5/5.6.1/i386-linux-thread-multi /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.6.1
/usr/lib/perl5/vendor_perl .) at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Words.pm
line 85.</tt>
<br><tt>BEGIN failed--compilation aborted at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Words.pm
line 85.</tt>
<br><tt>Compilation failed in require at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/WordDecoder.pm
line 77.</tt>
<br><tt>BEGIN failed--compilation aborted at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/WordDecoder.pm
line 77.</tt>
<br><tt>Compilation failed in require at t/Ref.t line 8.</tt>
<br><tt>BEGIN failed--compilation aborted at t/Ref.t line 8.</tt>
<br><tt>t/Ref...............dubious</tt>
<br><tt> Test returned status
2 (wstat 512, 0x200)</tt>
<br><tt>t/WordDecoder.......Can't locate MIME/QuotedPrint.pm in @INC (@INC
contains: ./t /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib /usr/src/redhat/BUILD/MIME-tools-5.411/blib/arch
/usr/lib/perl5/5.6.1/i386-linux-thread-multi /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.6.1
/usr/lib/perl5/vendor_perl .) at t/WordDecoder.t line 6.</tt>
<br><tt>BEGIN failed--compilation aborted at t/WordDecoder.t line 6.</tt>
<br><tt>t/WordDecoder.......dubious</tt>
<br><tt> Test returned status
2 (wstat 512, 0x200)</tt>
<br><tt>t/Words.............Can't locate MIME/QuotedPrint.pm in @INC (@INC
contains: ./t /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib /usr/src/redhat/BUILD/MIME-tools-5.411/blib/arch
/usr/lib/perl5/5.6.1/i386-linux-thread-multi /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.6.1
/usr/lib/perl5/vendor_perl .) at t/Words.t line 6.</tt>
<br><tt>BEGIN failed--compilation aborted at t/Words.t line 6.</tt>
<br><tt>t/Words.............dubious</tt>
<br><tt> Test returned status
2 (wstat 512, 0x200)</tt>
<br><tt>Failed Test Status Wstat Total Fail
Failed List of Failed</tt>
<br><tt>--------------------------------------------------------------------------------</tt>
<br><tt>t/Decoder.t 2
512 ?? ??
% ??</tt>
<br><tt>t/Entity.t 2
512 ?? ??
% ??</tt>
<br><tt>t/Gauntlet.t 2
512 ?? ??
% ??</tt>
<br><tt>t/Head.t
2 512 ?? ??
% ??</tt>
<br><tt>t/Misc.t
2 512 ?? ??
% ??</tt>
<br><tt>t/Parser.t 2
512 ?? ??
% ??</tt>
<br><tt>t/Ref.t
2 512 ?? ??
% ??</tt>
<br><tt>t/WordDecoder.t 2 512
?? ?? % ??</tt>
<br><tt>t/Words.t
2 512 ?? ??
% ??</tt>
<br><tt>Failed 9/10 test scripts, 10.00% okay. 0/18 subtests failed, 100.00%
okay.</tt>
<br><tt>make: *** [test_dynamic] Error 2</tt>
<br><tt>error: Bad exit status from /var/tmp/rpm-tmp.70725 (%build)</tt>
<br><tt></tt> <tt></tt>
<p><tt>RPM build errors:</tt>
<br><tt> Bad exit status from /var/tmp/rpm-tmp.70725
(%build)</tt>
<br><tt></tt>
<br><tt></tt> <tt></tt>
<p><tt>Missing file /usr/src/redhat/RPMS/noarch/perl-MIME-tools-5.411-pl4.2.noarch.rpm.</tt>
<br><tt>Maybe it did not build correctly?</tt>
<p>......
<p>-------------------------------------------------------------------------------------------------------
<p>Kai Wang</html>