Installation question

Steve Churcher mail at GRADE1.CO.UK
Thu Aug 28 23:26:55 IST 2003


Further to my earlier email which I have included below for info, I have
attached a dump of the install.sh script output.

For some reason the RPMs don't appear to install, as I'm getting a
little out of my league here I am hoping someone might be able to offer
some suggestions.

Kind regards

Steve
Ps this is on a cobalt raq4

> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> Behalf Of Steve Churcher
> Sent: 28 August 2003 12:19
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Installation on RAQ4
>
> Hi
>
> Hope someone can help, I'm doing my head in! I'm not really an expert
on a
> raq but can work my way around..
>
> Im trying to install Mailscanner, following the instructions at
> http://www.qitc.net/support/mailscanner/
>
> This is a new install, on a patched raq4 with a few other pkgs also
> (webmail, webalizer etc).. I have followed the instructions installing
f-
> prot etc but when I run install.sh it runs through and each time ends
with
> this:
>
> ###################
> Installing tnef decoder
>
> package tnef-1.1.4-sizelimit1 is already installed
>
> Now to install MailScanner itself.
>
> error: failed dependencies:
>         perl-MIME-tools >= 5.411 is needed by mailscanner-4.22-5
Please do
> not forget to kill your MailScanner version 3 processes before
starting
> version 4. ###################
>
> MailScanner is then not installed but Im not sure whats wrong.. Im
sure
> MIME::Tools is installed but is there a way to check or something that
> needs doing?
>
> Any advice gratefully received.. many thanks
>
> Rgrds
>
> Steve
-------------- next part --------------
[root MailScanner-4.22-5]# ./install.sh


Good. You have the patch command.

Good, you have /usr/src/redhat in place.

Good, unpackaged files will not break the build process.

Good, you appear to only have 1 copy of Perl installed.

I think you are running Perl 5.00503.
Ensuring that you have all the header files that are needed
to build HTML-Parser which is used by both MailScanner and
SpamAssassin.

You appear to have pod2man but not pod2text.
Creating pod2text for you.

Good, your version of ExtUtils::MakeMaker is up to date

This script will pause for a few seconds after each major step,
so do not worry if it appears to stop for a while.
If you want it to stop so you can scroll back through the output
then press Ctrl-S to stop the output and Ctrl-Q to start it again.


If this fails due to dependency checks, and you wish to ignore
these problems, you can run
    ./install.sh nodeps

Rebuilding all the Perl RPMs for your version of Perl

Attempting to build and install perl-IO-stringy-2.108-1
Installing perl-IO-stringy-2.108-1.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.15635
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf IO-stringy-2.108
+ /bin/gzip -dc /usr/src/redhat/SOURCES/IO-stringy-2.108.tar.gz
+ tar -xf -
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd IO-stringy-2.108
++ /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 .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.15635
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd IO-stringy-2.108
+ CFLAGS=-O2 -m486 -fno-strength-reduce
+ perl Makefile.PL PREFIX=/var/tmp/perl-IO-stringy-root/usr
Checking if your kit is complete...
Looks good
Writing Makefile for IO-stringy
+ make
cp lib/IO/Scalar.pm.html blib/lib/IO/Scalar.pm.html
cp lib/IO/Wrap.pm blib/lib/IO/Wrap.pm
cp lib/IO/Lines.pm blib/lib/IO/Lines.pm
cp lib/IO/WrapTie.pm blib/lib/IO/WrapTie.pm
cp lib/IO/Stringy.pm blib/lib/IO/Stringy.pm
cp lib/IO/InnerFile.pm blib/lib/IO/InnerFile.pm
cp lib/IO/ScalarArray.pm blib/lib/IO/ScalarArray.pm
cp lib/IO/AtomicFile.pm blib/lib/IO/AtomicFile.pm
cp lib/IO/Scalar.pm blib/lib/IO/Scalar.pm
Manifying blib/man3/IO::Wrap.3
Manifying blib/man3/IO::Lines.3
Manifying blib/man3/IO::WrapTie.3
Manifying blib/man3/IO::InnerFile.3
Manifying blib/man3/IO::AtomicFile.3
Manifying blib/man3/IO::Stringy.3
Manifying blib/man3/IO::ScalarArray.3
Manifying blib/man3/IO::Scalar.3
+ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/IO_Lines..........ok
t/IO_Scalar.........ok
t/IO_ScalarArray....ok
t/IO_WrapTie........ok
t/simple............ok
t/two...............ok
All tests successful.
Files=6,  Tests=116,  1 wallclock secs ( 1.19 cusr +  0.25 csys =  1.44 CPU)
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.4412
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd IO-stringy-2.108
+ rm -rf /var/tmp/perl-IO-stringy-root
++ perl -V:installarchlib
+ eval installarchlib='/usr/lib/perl5/5.00503/i386-linux';
++ installarchlib=/usr/lib/perl5/5.00503/i386-linux
+ mkdir -p /var/tmp/perl-IO-stringy-root//usr/lib/perl5/5.00503/i386-linux
Bad exit status from /var/tmp/rpm-tmp.4412 (%install)



Missing file /usr/src/redhat/RPMS/noarch/perl-IO-stringy-2.108-1.noarch.rpm.
Maybe it did not build correctly?

Oh good, module MIME::Base64 version 2.12 is already installed.

Attempting to build and install perl-TimeDate-1.1301-2
Installing perl-TimeDate-1.1301-2.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.45970
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf TimeDate-1.1301
+ /bin/gzip -dc /usr/src/redhat/SOURCES/TimeDate-1.1301.tar.gz
+ tar -xf -
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd TimeDate-1.1301
++ /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 .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.45970
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd TimeDate-1.1301
+ CFLAGS=-O2 -m486 -fno-strength-reduce
+ perl Makefile.PL PREFIX=/var/tmp/perl-TimeDate-root/usr
Checking if your kit is complete...
Looks good
Writing Makefile for TimeDate
+ make
cp lib/Date/Language.pm blib/lib/Date/Language.pm
cp lib/Date/Language/Italian.pm blib/lib/Date/Language/Italian.pm
cp lib/Date/Language/French.pm blib/lib/Date/Language/French.pm
cp lib/Date/Language/Austrian.pm blib/lib/Date/Language/Austrian.pm
cp lib/Date/Parse.pm blib/lib/Date/Parse.pm
cp lib/Date/Format.pm blib/lib/Date/Format.pm
cp lib/Date/Language/Dutch.pm blib/lib/Date/Language/Dutch.pm
cp lib/Date/Language/Norwegian.pm blib/lib/Date/Language/Norwegian.pm
cp lib/Time/Zone.pm blib/lib/Time/Zone.pm
cp lib/Date/Language/English.pm blib/lib/Date/Language/English.pm
cp lib/Date/Language/German.pm blib/lib/Date/Language/German.pm
cp lib/Date/Language/Czech.pm blib/lib/Date/Language/Czech.pm
Manifying blib/man3/Date::Parse.3
Manifying blib/man3/Time::Zone.3
Manifying blib/man3/Date::Format.3
+ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/date..............ok
t/format............ok
t/getdate...........ok
t/lang..............ok
All tests successful.
Files=4,  Tests=404,  1 wallclock secs ( 0.83 cusr +  0.11 csys =  0.94 CPU)
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.97509
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd TimeDate-1.1301
+ rm -rf /var/tmp/perl-TimeDate-root
++ perl -V:installarchlib
+ eval installarchlib='/usr/lib/perl5/5.00503/i386-linux';
++ installarchlib=/usr/lib/perl5/5.00503/i386-linux
+ mkdir -p /var/tmp/perl-TimeDate-root//usr/lib/perl5/5.00503/i386-linux
Bad exit status from /var/tmp/rpm-tmp.97509 (%install)



Missing file /usr/src/redhat/RPMS/noarch/perl-TimeDate-1.1301-2.noarch.rpm.
Maybe it did not build correctly?

Attempting to build and install perl-MailTools-1.50-1
Installing perl-MailTools-1.50-1.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.11881
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf MailTools-1.50
+ /bin/gzip -dc /usr/src/redhat/SOURCES/MailTools-1.50.tar.gz
+ tar -xf -
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd MailTools-1.50
++ /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 .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.78819
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd MailTools-1.50
+ CFLAGS=-O2 -m486 -fno-strength-reduce
+ perl Makefile.PL PREFIX=/var/tmp/perl-MailTools-root/usr
Checking for Net::SMTP...ok
Checking for Net::Domain...ok
Checking for IO::Handle...ok
Checking if your kit is complete...
Looks good
Writing Makefile for Mail
+ make
cp Mail/Field.pm blib/lib/Mail/Field.pm
cp Mail/Filter.pm blib/lib/Mail/Filter.pm
cp Mail/Address.pm blib/lib/Mail/Address.pm
cp Mail/Header.pm blib/lib/Mail/Header.pm
cp Mail/Mailer/test.pm blib/lib/Mail/Mailer/test.pm
cp Mail/Mailer/mail.pm blib/lib/Mail/Mailer/mail.pm
cp Mail/Internet.pm blib/lib/Mail/Internet.pm
AutoSplitting blib/lib/Mail/Internet.pm (blib/lib/auto/Mail/Internet)
cp Mail/Send.pm blib/lib/Mail/Send.pm
cp Mail/Field/AddrList.pm blib/lib/Mail/Field/AddrList.pm
cp Mail/Cap.pm blib/lib/Mail/Cap.pm
cp Mail/Mailer/smtp.pm blib/lib/Mail/Mailer/smtp.pm
cp Mail/Mailer/sendmail.pm blib/lib/Mail/Mailer/sendmail.pm
cp Mail/Field/Date.pm blib/lib/Mail/Field/Date.pm
cp Mail/Mailer/qmail.pm blib/lib/Mail/Mailer/qmail.pm
cp Mail/Util.pm blib/lib/Mail/Util.pm
AutoSplitting blib/lib/Mail/Util.pm (blib/lib/auto/Mail/Util)
cp Mail/Mailer/rfc822.pm blib/lib/Mail/Mailer/rfc822.pm
cp Mail/Mailer.pm blib/lib/Mail/Mailer.pm
Manifying blib/man3/Mail::Cap.3
Manifying blib/man3/Mail::Field.3
Manifying blib/man3/Mail::Util.3
Manifying blib/man3/Mail::Address.3
Manifying blib/man3/Mail::Filter.3
Manifying blib/man3/Mail::Header.3
Manifying blib/man3/Mail::Internet.3
Manifying blib/man3/Mail::Field::AddrList.3
Manifying blib/man3/Mail::Mailer.3
Manifying blib/man3/Mail::Send.3
+ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/extract...........ok
t/header............ok
t/internet..........ok
t/mailcap...........ok
t/mailer............ok
t/require...........ok
t/send..............ok
All tests successful.
Files=7,  Tests=94,  1 wallclock secs ( 0.90 cusr +  0.13 csys =  1.03 CPU)
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.71181
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd MailTools-1.50
+ rm -rf /var/tmp/perl-MailTools-root
++ perl -V:installarchlib
+ eval installarchlib='/usr/lib/perl5/5.00503/i386-linux';
++ installarchlib=/usr/lib/perl5/5.00503/i386-linux
+ mkdir -p /var/tmp/perl-MailTools-root//usr/lib/perl5/5.00503/i386-linux
Bad exit status from /var/tmp/rpm-tmp.71181 (%install)



Missing file /usr/src/redhat/RPMS/noarch/perl-MailTools-1.50-1.noarch.rpm.
Maybe it did not build correctly?

Oh good, module File::Spec version 0.82 is already installed.

Oh good, module File::Temp version 0.12 is already installed.

Oh good, module HTML::Tagset version 3.03 is already installed.

Oh good, module HTML::Parser version 3.26 is already installed.

Attempting to build and install perl-MIME-tools-5.411-pl4.2
Installing perl-MIME-tools-5.411-pl4.2.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.56499
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf MIME-tools-5.411
+ /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 #0 (mime-tools-patch1.txt):
+ patch -p1 -s
+ echo Patch #1 (mime-tools-patch2.txt):
Patch #1 (mime-tools-patch2.txt):
+ patch -p1 -s
+ echo Patch #2 (mime-tools-patch3.txt):
Patch #2 (mime-tools-patch3.txt):
+ patch -p1 -s
+ echo Patch #3 (mime-tools-patch4.txt):
Patch #3 (mime-tools-patch4.txt):
+ patch -p1 -s
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.42775
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd MIME-tools-5.411
+ CFLAGS=-O2 -m486 -fno-strength-reduce
+ perl Makefile.PL PREFIX=/var/tmp/perl-MIME-tools-root/usr
Checking if your kit is complete...
Looks good
Writing Makefile for MIME-tools
+ make
cp lib/MIME/Decoder/QuotedPrint.pm blib/lib/MIME/Decoder/QuotedPrint.pm
cp lib/MIME/Entity.pm blib/lib/MIME/Entity.pm
cp lib/MIME/Field/ParamVal.pm blib/lib/MIME/Field/ParamVal.pm
cp lib/MIME/Field/ContType.pm blib/lib/MIME/Field/ContType.pm
cp lib/MIME/Decoder/Gzip64.pm blib/lib/MIME/Decoder/Gzip64.pm
cp lib/MIME/Decoder/Base64.pm blib/lib/MIME/Decoder/Base64.pm
cp lib/MIME/Decoder/Binary.pm blib/lib/MIME/Decoder/Binary.pm
cp lib/MIME/Parser.pm blib/lib/MIME/Parser.pm
cp lib/MIME/Parser/Filer.pm blib/lib/MIME/Parser/Filer.pm
cp lib/MIME/Body.pm blib/lib/MIME/Body.pm
cp lib/MIME/Parser/Results.pm blib/lib/MIME/Parser/Results.pm
cp lib/MIME/Parser/Reader.pm blib/lib/MIME/Parser/Reader.pm
cp lib/MIME/Field/ConTraEnc.pm blib/lib/MIME/Field/ConTraEnc.pm
cp lib/MIME/Tools.pm blib/lib/MIME/Tools.pm
cp lib/MIME/Words.pm blib/lib/MIME/Words.pm
cp lib/MIME/Decoder/UU.pm blib/lib/MIME/Decoder/UU.pm
cp lib/MIME/Head.pm blib/lib/MIME/Head.pm
cp lib/MIME/WordDecoder.pm blib/lib/MIME/WordDecoder.pm
cp lib/MIME/Decoder/NBit.pm blib/lib/MIME/Decoder/NBit.pm
cp lib/MIME/Decoder.pm blib/lib/MIME/Decoder.pm
cp lib/MIME/Field/ContDisp.pm blib/lib/MIME/Field/ContDisp.pm
Manifying blib/man3/MIME::Entity.3
Manifying blib/man3/MIME::Decoder::QuotedPrint.3
Manifying blib/man3/MIME::Field::ParamVal.3
Manifying blib/man3/MIME::Decoder::Gzip64.3
Manifying blib/man3/MIME::Field::ContType.3
Manifying blib/man3/MIME::Decoder::Base64.3
Manifying blib/man3/MIME::Decoder::Binary.3
Manifying blib/man3/MIME::Parser.3
Manifying blib/man3/MIME::Parser::Filer.3
Manifying blib/man3/MIME::Parser::Results.3
Manifying blib/man3/MIME::Body.3
Manifying blib/man3/MIME::Parser::Reader.3
Manifying blib/man3/MIME::Decoder::UU.3
Manifying blib/man3/MIME::Words.3
Manifying blib/man3/MIME::Field::ConTraEnc.3
Manifying blib/man3/MIME::Tools.3
Manifying blib/man3/MIME::Decoder::NBit.3
Manifying blib/man3/MIME::WordDecoder.3
Manifying blib/man3/MIME::Head.3
Manifying blib/man3/MIME::Decoder.3
Manifying blib/man3/MIME::Field::ContDisp.3
+ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/Body..............ok
t/Decoder...........ok
t/Entity............ok
t/Gauntlet..........ok
t/Head..............ok
t/Misc..............ok
t/Parser............ok
t/Ref...............ok
t/WordDecoder.......ok
t/Words.............ok
All tests successful.
Files=10,  Tests=223, 11 wallclock secs ( 6.73 cusr +  0.92 csys =  7.65 CPU)
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.17317
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd MIME-tools-5.411
+ rm -rf /var/tmp/perl-MIME-tools-root
++ perl -V:installarchlib
+ eval installarchlib='/usr/lib/perl5/5.00503/i386-linux';
++ installarchlib=/usr/lib/perl5/5.00503/i386-linux
+ mkdir -p /var/tmp/perl-MIME-tools-root//usr/lib/perl5/5.00503/i386-linux
Bad exit status from /var/tmp/rpm-tmp.17317 (%install)



Missing file /usr/src/redhat/RPMS/noarch/perl-MIME-tools-5.411-pl4.2.noarch.rpm.
Maybe it did not build correctly?

Attempting to build and install perl-Convert-TNEF-0.17-1
Installing perl-Convert-TNEF-0.17-1.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.69563
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf Convert-TNEF-0.17
+ /bin/gzip -dc /usr/src/redhat/SOURCES/Convert-TNEF-0.17.tar.gz
+ tar -xf -
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd Convert-TNEF-0.17
++ /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 .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.26404
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd Convert-TNEF-0.17
+ CFLAGS=-O2 -m486 -fno-strength-reduce
+ perl Makefile.PL PREFIX=/var/tmp/perl-Convert-TNEF-root/usr
Checking if your kit is complete...
Looks good
Warning: prerequisite MIME::Body 4.109 not found.
Writing Makefile for Convert::TNEF
+ make
cp TNEF.pm blib/lib/Convert/TNEF.pm
Manifying blib/man3/Convert::TNEF.3
+ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/test..............Can't locate MIME/Body.pm in @INC (@INC contains: /home/redhat/BUILD/Convert-TNEF-0.17/blib/lib /home/redhat/BUILD/Convert-TNEF-0.17/blib/arch /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 . /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .) at /home/redhat/BUILD/Convert-TNEF-0.17/blib/lib/Convert/TNEF.pm line 28.
BEGIN failed--compilation aborted at /home/redhat/BUILD/Convert-TNEF-0.17/blib/lib/Convert/TNEF.pm line 28.
BEGIN failed--compilation aborted at t/test.t line 11.
dubious
        Test returned status 2 (wstat 512, 0x200)
Undefined subroutine &Test::Harness::WCOREDUMP called at /usr/lib/perl5/5.00503/Test/Harness.pm line 288.
make: *** [test_dynamic] Error 2
Bad exit status from /var/tmp/rpm-tmp.26404 (%build)



Missing file /usr/src/redhat/RPMS/noarch/perl-Convert-TNEF-0.17-1.noarch.rpm.
Maybe it did not build correctly?


Installing tnef decoder

package tnef-1.1.4-sizelimit1 is already installed

Now to install MailScanner itself.

error: failed dependencies:
        perl-MIME-tools >= 5.411 is needed by mailscanner-4.22-5
Please do not forget to kill your MailScanner version 3 processes
before starting version 4.



More information about the MailScanner mailing list