Problem getting MailScanner 4.10 - New Release started:

Dawes, Stephen Stephen.Dawes at GOV.CALGARY.AB.CA
Wed Dec 4 19:30:22 GMT 2002


See attached output from rpmbuild.
In a nutt shell, it too failed. 

Steve Dawes
PH:  (403) 268-5527. 
Mailto:  sdawes at calgary.ca 


NOTICE::
This communication is intended ONLY for the use of the person or entity named above and may contain information that is confidential or legally privileged. If you are not the intended recipient named above or a person responsible for delivering messages or communications to the intended recipient, YOU ARE HEREBY NOTIFIED that any use, distribution, or copying of this communication or any of the information contained in it is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone and then destroy or delete this communication, or return it to us by mail if requested by us. The City of Calgary thanks you for your attention and cooperation.

> -----Original Message-----
> From: Julian Field [mailto:mailscanner at ECS.SOTON.AC.UK]
> Sent: 2002 December 04 9:50 AM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: Problem getting MailScanner 4.10 - New Release started:
> 
> 
> At 16:46 04/12/2002, you wrote:
> >In both instances, the locate and find, the result is the same, and
> >nothing is reported.
> >Does this mean that I need to re-install MailScanner?
> 
> In which case I think the building or installation of the MIME-tools
> package failed.
> 
> If you do
>          rpmbuild --rebuild perl-MIME-tools*rpm
> what output does it produce? There will be quite a bit of it.
> Can you then do
>          rpm -Uvh 
> /usr/src/redhat/RPMS/noarch/perl-MIME-tools*noarch.rpm
> successfully?
> 
> > > -----Original Message-----
> > > From: Julian Field [mailto:mailscanner at ECS.SOTON.AC.UK]
> > > Sent: 2002 December 04 9:19 AM
> > > To: MAILSCANNER at JISCMAIL.AC.UK
> > > Subject: Re: Problem getting MailScanner 4.10 - New 
> Release started:
> > >
> > >
> > > Do
> > >          locate Parser.pm
> > > and see where it finds it. If it doesn't report anything, then
> > >          find /usr -name '*Parser.pm*' -print
> > > should find it.
> > >
> > > At 16:01 04/12/2002, you wrote:
> > > >Yes, I ran the install.sh script.
> > > >In fact, the first time I did, it was suggested that I run
> > > >Update-MakeMaker.sh, to which I did.
> > > >After it successfully completed, I ran the install.sh 
> script for a
> > > >second time, and did the 4 instructions that are listed on
> > > the screen at
> > > >the completion of the script.
> > > >I then made the necessary changes to MailScanner.conf, and
> > > then did the
> > > >service MailScanner Start, to which you see the output below.
> > > >
> > > >
> > > >Steve Dawes
> > > >PH:  (403) 268-5527.
> > > >Mailto:  sdawes at calgary.ca
> > > >
> > > >
> > > >
> > > >
> > > >NOTICE::
> > > >This communication is intended ONLY for the use of the
> > > person or entity
> > > >named above and may contain information that is confidential
> > > or legally
> > > >privileged. If you are not the intended recipient named
> > > above or a person
> > > >responsible for delivering messages or communications to 
> the intended
> > > >recipient, YOU ARE HEREBY NOTIFIED that any use,
> > > distribution, or copying
> > > >of this communication or any of the information 
> contained in it is
> > > >strictly prohibited. If you have received this communication
> > > in error,
> > > >please notify us immediately by telephone and then destroy
> > > or delete this
> > > >communication, or return it to us by mail if requested by
> > > us. The City of
> > > >Calgary thanks you for your attention and cooperation.
> > > >
> > > > > -----Original Message-----
> > > > > From: Julian Field [mailto:mailscanner at ECS.SOTON.AC.UK]
> > > > > Sent: 2002 December 04 8:31 AM
> > > > > To: MAILSCANNER at JISCMAIL.AC.UK
> > > > > Subject: Re: Problem getting MailScanner 4.10 - New
> > > Release started:
> > > > >
> > > > >
> > > > > Assuming you ran the "install.sh" script, it appears to have
> > > > > not installed
> > > > > the perl-MIME-tools correctly.
> > > > >
> > > > > At 14:53 04/12/2002, you wrote:
> > > > > >I am having a problem getting the latest release of
> > > > > MailScanner up and
> > > > > >running.
> > > > > >
> > > > > >My system is running RedHat 8.0, and included in it is
> > > > > sendmail-8.12.5.
> > > > > >
> > > > > >Here is what I get when I try to start MailScanner.
> > > > > >
> > > > > >[root at Panther root]# cd /
> > > > > >[root at Panther /]# service MailScanner start
> > > > > >Starting MailScanner daemons:
> > > > > >          incoming sendmail: [  OK  ]
> > > > > >          outgoing sendmail: [  OK  ]
> > > > > >          MailScanner:       Can't locate MIME/Parser.pm in
> > > > > @INC (@INC
> > > > > > contains: /usr/lib/MailScanner
> > > > > > /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/MailScanner) at
> > > > > /usr/lib/MailScanner/MailScanner/Message.pm line 39.
> > > > > >BEGIN failed--compilation aborted at
> > > > > >/usr/lib/MailScanner/MailScanner/Message.pm line 39.
> > > > > >Compilation failed in require at 
> /usr/sbin/MailScanner line 46.
> > > > > >BEGIN failed--compilation aborted at
> > > /usr/sbin/MailScanner line 46.
> > > > > >[  OK  ]
> > > > > >[root at Panther /]#
> > > > > >
> > > > > >What am I doing wrong here?
> 
> --
> Julian Field
> www.MailScanner.info
> MailScanner thanks transtec Computers for their support
> 
-------------- next part --------------
[root at Panther MailScanner-4.10-1]# rpmbuild --rebuild perl-MIME-tools*rpm  2>&1 > rpmbuild.out
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf MIME-tools-5.411
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/MIME-tools-5.411.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd MIME-tools-5.411
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ echo 'Patch #0 (mime-tools-patch1.txt):'
+ patch -p1 -s
+ echo 'Patch #1 (mime-tools-patch2.txt):'
+ patch -p1 -s
+ echo 'Patch #2 (mime-tools-patch3.txt):'
+ patch -p1 -s
+ echo 'Patch #3 (mime-tools-patch4.txt):'
+ patch -p1 -s
+ exit 0
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd MIME-tools-5.411
+ CFLAGS=-O2 -march=i386 -mcpu=i686
+ perl Makefile.PL PREFIX=/var/tmp/perl-MIME-tools-root/usr
Warning: prerequisite IO::Stringy 1.211 not found.
Warning: prerequisite Mail::Field 1.05 not found.
Warning: prerequisite Mail::Header 1.01 not found.
Warning: prerequisite Mail::Internet 1.0203 not found.
+ make
+ make test
Can't locate IO/Scalar.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.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 .) at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Body.pm line 141.
BEGIN failed--compilation aborted at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Body.pm line 141.
Compilation failed in require at t/Body.t line 6.
BEGIN failed--compilation aborted at t/Body.t line 6.
Can't locate IO/Wrap.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.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 .) at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Decoder.pm line 93.
BEGIN failed--compilation aborted at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Decoder.pm line 93.
Compilation failed in require at t/Decoder.t line 4.
BEGIN failed--compilation aborted at t/Decoder.t line 4.
Can't locate Mail/Internet.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.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 .) at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Entity.pm line 230.
BEGIN failed--compilation aborted at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Entity.pm line 230.
Compilation failed in require at t/Entity.t line 3.
BEGIN failed--compilation aborted at t/Entity.t line 3.
Can't locate IO/Wrap.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.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 .) at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Parser.pm line 134.
BEGIN failed--compilation aborted at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Parser.pm line 134.
Compilation failed in require at t/Gauntlet.t line 3.
BEGIN failed--compilation aborted at t/Gauntlet.t line 3.
Can't locate IO/Wrap.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.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 .) at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Head.pm line 116.
BEGIN failed--compilation aborted at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Head.pm line 116.
Compilation failed in require at t/Head.t line 2.
BEGIN failed--compilation aborted at t/Head.t line 2.
Can't locate IO/Wrap.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.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 .) at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Head.pm line 116.
BEGIN failed--compilation aborted at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Head.pm line 116.
Compilation failed in require at t/Misc.t line 2.
BEGIN failed--compilation aborted at t/Misc.t line 2.
Can't locate IO/Wrap.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.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 .) at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Parser.pm line 134.
BEGIN failed--compilation aborted at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Parser.pm line 134.
Compilation failed in require at t/Parser.t line 10.
BEGIN failed--compilation aborted at t/Parser.t line 10.
Can't locate IO/Wrap.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.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 .) at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Parser.pm line 134.
BEGIN failed--compilation aborted at /usr/src/redhat/BUILD/MIME-tools-5.411/blib/lib/MIME/Parser.pm line 134.
Compilation failed in require at t/Ref.t line 13.
BEGIN failed--compilation aborted at t/Ref.t line 13.
Failed 8/10 test scripts, 20.00% okay. 0/20 subtests failed, 100.00% okay.
make: *** [test_dynamic] Error 29
error: Bad exit status from /var/tmp/rpm-tmp.10914 (%build)
    Bad exit status from /var/tmp/rpm-tmp.10914 (%build)
[root at Panther MailScanner-4.10-1]# 

[root at Panther MailScanner-4.10-1]# cat rpmbuild.out
Installing perl-MIME-tools-5.411-pl4.2.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.371
Patch #0 (mime-tools-patch1.txt):
Patch #1 (mime-tools-patch2.txt):
Patch #2 (mime-tools-patch3.txt):
Patch #3 (mime-tools-patch4.txt):
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3410
Checking if your kit is complete...
Looks good
Writing Makefile for MIME-tools
cp lib/MIME/Decoder/Gzip64.pm blib/lib/MIME/Decoder/Gzip64.pm
cp lib/MIME/Body.pm blib/lib/MIME/Body.pm
cp lib/MIME/Field/ContDisp.pm blib/lib/MIME/Field/ContDisp.pm
cp lib/MIME/Field/ContType.pm blib/lib/MIME/Field/ContType.pm
cp lib/MIME/Decoder/NBit.pm blib/lib/MIME/Decoder/NBit.pm
cp lib/MIME/Parser/Results.pm blib/lib/MIME/Parser/Results.pm
cp lib/MIME/Words.pm blib/lib/MIME/Words.pm
cp lib/MIME/Entity.pm blib/lib/MIME/Entity.pm
cp lib/MIME/Parser/Filer.pm blib/lib/MIME/Parser/Filer.pm
cp lib/MIME/Head.pm blib/lib/MIME/Head.pm
cp lib/MIME/Field/ParamVal.pm blib/lib/MIME/Field/ParamVal.pm
cp lib/MIME/Tools.pm blib/lib/MIME/Tools.pm
cp lib/MIME/Field/ConTraEnc.pm blib/lib/MIME/Field/ConTraEnc.pm
cp lib/MIME/Decoder/UU.pm blib/lib/MIME/Decoder/UU.pm
cp lib/MIME/Decoder/Binary.pm blib/lib/MIME/Decoder/Binary.pm
cp lib/MIME/Decoder.pm blib/lib/MIME/Decoder.pm
cp lib/MIME/Decoder/Base64.pm blib/lib/MIME/Decoder/Base64.pm
cp lib/MIME/Decoder/QuotedPrint.pm blib/lib/MIME/Decoder/QuotedPrint.pm
cp lib/MIME/WordDecoder.pm blib/lib/MIME/WordDecoder.pm
cp lib/MIME/Parser/Reader.pm blib/lib/MIME/Parser/Reader.pm
cp lib/MIME/Parser.pm blib/lib/MIME/Parser.pm
Manifying blib/man3/MIME::Body.3pm
Manifying blib/man3/MIME::Decoder::Gzip64.3pm
Manifying blib/man3/MIME::Field::ContDisp.3pm
Manifying blib/man3/MIME::Parser::Results.3pm
Manifying blib/man3/MIME::Field::ContType.3pm
Manifying blib/man3/MIME::Decoder::NBit.3pm
Manifying blib/man3/MIME::Entity.3pm
Manifying blib/man3/MIME::Head.3pm
Manifying blib/man3/MIME::Parser::Filer.3pm
Manifying blib/man3/MIME::Words.3pm
Manifying blib/man3/MIME::Field::ParamVal.3pm
Manifying blib/man3/MIME::Field::ConTraEnc.3pm
Manifying blib/man3/MIME::Tools.3pm
Manifying blib/man3/MIME::Decoder::Binary.3pm
Manifying blib/man3/MIME::Decoder.3pm
Manifying blib/man3/MIME::Decoder::UU.3pm
Manifying blib/man3/MIME::Decoder::QuotedPrint.3pm
Manifying blib/man3/MIME::Decoder::Base64.3pm
Manifying blib/man3/MIME::WordDecoder.3pm
Manifying blib/man3/MIME::Parser.3pm
Manifying blib/man3/MIME::Parser::Reader.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/Body...........dubious
        Test returned status 2 (wstat 512, 0x200)
t/Decoder........dubious
        Test returned status 2 (wstat 512, 0x200)
t/Entity.........dubious
        Test returned status 2 (wstat 512, 0x200)
t/Gauntlet.......dubious
        Test returned status 2 (wstat 512, 0x200)
t/Head...........dubious
        Test returned status 2 (wstat 512, 0x200)
t/Misc...........dubious
        Test returned status 2 (wstat 512, 0x200)
t/Parser.........dubious
        Test returned status 2 (wstat 512, 0x200)
t/Ref............dubious
        Test returned status 2 (wstat 512, 0x200)
t/WordDecoder....ok
t/Words..........ok
Failed Test  Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/Body.t        2   512    ??   ??       %  ??
t/Decoder.t     2   512    ??   ??       %  ??
t/Entity.t      2   512    ??   ??       %  ??
t/Gauntlet.t    2   512    ??   ??       %  ??
t/Head.t        2   512    ??   ??       %  ??
t/Misc.t        2   512    ??   ??       %  ??
t/Parser.t      2   512    ??   ??       %  ??
t/Ref.t         2   512    ??   ??       %  ??


RPM build errors:
[root at Panther MailScanner-4.10-1]# 


More information about the MailScanner mailing list