Problems installing Mailscanner

Roel Spijker r.spyker at HCCNET.NL
Tue Oct 22 19:48:38 IST 2002


Okay. I loaded rpmbuild. I am getting a lot further now but two of the
modules won't build correctly:

perl-Convert-TNEF-0.17-1.src.rpm
and
perl-MIME-tools-5.411-pl4.2.src.rpm

are still giving problems.

Is there more I am missing?

Roel.


Installing perl-MIME-tools-5.411-pl4.2.src.rpm

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.62870
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.51420
Checking if your kit is complete...
Looks good
Writing Makefile for MIME-tools
mkdir blib
mkdir blib/lib
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/MIME-tools
mkdir blib/lib/auto
mkdir blib/lib/auto/MIME-tools
mkdir blib/man3
cp lib/MIME/Field/ContDisp.pm blib/lib/MIME/Field/ContDisp.pm
cp lib/MIME/Decoder/Base64.pm blib/lib/MIME/Decoder/Base64.pm
cp lib/MIME/Parser/Filer.pm blib/lib/MIME/Parser/Filer.pm
cp lib/MIME/WordDecoder.pm blib/lib/MIME/WordDecoder.pm
cp lib/MIME/Parser/Results.pm blib/lib/MIME/Parser/Results.pm
cp lib/MIME/Decoder/NBit.pm blib/lib/MIME/Decoder/NBit.pm
cp lib/MIME/Decoder/Binary.pm blib/lib/MIME/Decoder/Binary.pm
cp lib/MIME/Body.pm blib/lib/MIME/Body.pm
cp lib/MIME/Parser/Reader.pm blib/lib/MIME/Parser/Reader.pm
cp lib/MIME/Decoder/UU.pm blib/lib/MIME/Decoder/UU.pm
cp lib/MIME/Decoder/Gzip64.pm blib/lib/MIME/Decoder/Gzip64.pm
cp lib/MIME/Field/ParamVal.pm blib/lib/MIME/Field/ParamVal.pm
cp lib/MIME/Entity.pm blib/lib/MIME/Entity.pm
cp lib/MIME/Decoder/QuotedPrint.pm blib/lib/MIME/Decoder/QuotedPrint.pm
cp lib/MIME/Head.pm blib/lib/MIME/Head.pm
cp lib/MIME/Parser.pm blib/lib/MIME/Parser.pm
cp lib/MIME/Tools.pm blib/lib/MIME/Tools.pm
cp lib/MIME/Field/ContType.pm blib/lib/MIME/Field/ContType.pm
cp lib/MIME/Words.pm blib/lib/MIME/Words.pm
cp lib/MIME/Decoder.pm blib/lib/MIME/Decoder.pm
cp lib/MIME/Field/ConTraEnc.pm blib/lib/MIME/Field/ConTraEnc.pm
Manifying blib/man3/MIME::Field::ContDisp.3pm
Manifying blib/man3/MIME::Decoder::Base64.3pm
Manifying blib/man3/MIME::Parser::Filer.3pm
Manifying blib/man3/MIME::WordDecoder.3pm
Manifying blib/man3/MIME::Parser::Results.3pm
Manifying blib/man3/MIME::Decoder::NBit.3pm
Manifying blib/man3/MIME::Decoder::Binary.3pm
Manifying blib/man3/MIME::Body.3pm
Manifying blib/man3/MIME::Parser::Reader.3pm
Manifying blib/man3/MIME::Decoder::UU.3pm
Manifying blib/man3/MIME::Decoder::Gzip64.3pm
Manifying blib/man3/MIME::Field::ParamVal.3pm
Manifying blib/man3/MIME::Entity.3pm
Manifying blib/man3/MIME::Decoder::QuotedPrint.3pm
Manifying blib/man3/MIME::Head.3pm
Manifying blib/man3/MIME::Parser.3pm
Manifying blib/man3/MIME::Tools.3pm
Manifying blib/man3/MIME::Field::ContType.3pm
Manifying blib/man3/MIME::Words.3pm
Manifying blib/man3/MIME::Decoder.3pm
Manifying blib/man3/MIME::Field::ConTraEnc.3pm
PERL_DL_NONLAZY=1
/usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.0/i386-linux -I/us
r/lib/perl5/5.6.0 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0;
runtests @ARGV;' 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  Status 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:




Installing perl-Convert-TNEF-0.17-1.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.64869
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.31524
Checking if your kit is complete...
Looks good
Writing Makefile for Convert::TNEF
mkdir blib
mkdir blib/lib
mkdir blib/lib/Convert
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Convert
mkdir blib/arch/auto/Convert/TNEF
mkdir blib/lib/auto
mkdir blib/lib/auto/Convert
mkdir blib/lib/auto/Convert/TNEF
mkdir blib/man3
cp TNEF.pm blib/lib/Convert/TNEF.pm
Manifying blib/man3/Convert::TNEF.3pm
PERL_DL_NONLAZY=1
/usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.0/i386-linux -I/us
r/lib/perl5/5.6.0 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0;
runtests @ARGV;' t/*.t
t/test..............dubious
      Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-12
      Failed 12/12 tests, 0.00% okay
Failed Test  Status Wstat Total Fail  Failed  List of failed
----------------------------------------------------------------------------
---
t/test.t          2   512    12   12 100.00%  1-12


RPM build errors:



----- Original Message -----
From: "Julian Field" <mailscanner at ECS.SOTON.AC.UK>
To: <MAILSCANNER at JISCMAIL.AC.UK>
Sent: Tuesday, October 22, 2002 4:01 PM
Subject: Re: Problems installing Mailscanner


> In which case, take a look in your Linux distribution and find the
> "rpm-build" rpm and install that first so you get the directory structure
> required for a) rebuilding RPMs and (b) installing .src.rpm files.
>
> At 14:46 22/10/2002, you wrote:
>
> > > What did you do with the /usr/src/redhat tree? It comes as part of the
> > > "rpm-build" rpm in case you haven't got that installed. I never
> > > realised it
> > > was possible to *not* install that one :-)
> >
> >I guess I never installed it. Up until now there was never a need for it.
> >Upon RedHat install I alsways take Custom and install only what I need.
> >
> > > Assuming you are in the dir /home/spiroe/MailScanner-4.01-5, then just
> > > rpm --rebuild perl-IO-stringy*src.rpm
> > > should be able to work, as that file should be in the dir you are in.
> >
> >Tried it but it does not work:
> >[root at splx001 MailScanner-4.01-5]# pwd
> >/home/spiroe/MailScanner-4.01-5
> >
> >[root at splx001 MailScanner-4.01-5]# rpm --rebuild perl-IO-stringy*src.rpm
> >perl-IO-stringy-2.108-1.src.rpm: No such file or directory
> >
> >RPM --rebuild only also gives same message. That surprises me.
> >[root at splx001 MailScanner-4.01-5]# rpm --rebuild
> >--rebuild: No such file or directory
> >
> >The version of rpm I use is:
> >[root at splx001 MailScanner-4.01-5]# rpm -q rpm
> >rpm-4.0.3-1.03
> >
> >
> >Roel.
> >
> >
> > > At 08:15 22/10/2002, you wrote:
> > > >Hello,
> > > >
> > > >I started looking at Mailscanner recently. I have tried to install
both
> > > >4.01-3 and 4.01-5 but I am either doing something wrong or missing
> > > something.
> > > >
> > > >My environment is RedHat 7.2 with most recent patches. I downloaded
the
> > > >tar files, unpacked it. After that I tried to run the install.sh
script
> > > >which gives messages like:
> > > >
> > > >[root at splx001 MailScanner-4.01-5]# ./install.sh | more
> > > >
> > > >Rebuilding all the Perl RPMs for your version of Perl
> > > >
> > > >Missing file /usr/src/redhat/RPMS/noarch/perl-IO-stringy-2.108-
> > > 1.noarch.rpm.
> > > >Maybe it did not build correctly?
> > > >
> > > >Missing file /usr/src/redhat/RPMS/i386/perl-MIME-Base64-2.12-
> > > 1.i386.rpm.
> > > >Maybe it did not build correctly?
> > > >
> > > >Missing file /usr/src/redhat/RPMS/noarch/perl-TimeDate-1.1301-
> > > 2.noarch.rpm.
> > > >Maybe it did not build correctly?
> > > >
> > > >I am probably doing something wrong. /usr/src exist but no
> > > subdirectories
> > > >underneath it. The directory I unpacked the tar file in is:
> > > >/home/spiroe/MailScanner-4.01-5
> > >
> > > What did you do with the /usr/src/redhat tree? It comes as part of the
> > > "rpm-build" rpm in case you haven't got that installed. I never
realised
> > > it
> > > was possible to *not* install that one :-)
> > >
> > > >When I try to rebuild one of the files manually I get:
> > > >[root at splx001 MailScanner-4.01-5]# /bin/rpm --rebuild
> > > >/home/spiroe/MailScanner-4.01-5/perl-IO-stringy-2.108-1.src.rpm
> > > >/home/spiroe/MailScanner-4.01-5/perl-IO-stringy-2.108-1.src.rpm: No
> > > such
> > > >file or directory
> > > >
> > > >Can somebody point me into the right direction?
> > >
> > > Assuming you are in the dir /home/spiroe/MailScanner-4.01-5, then just
> > >          rpm --rebuild perl-IO-stringy*src.rpm
> > > should be able to work, as that file should be in the dir you are in.
> > > --
> > > Julian Field                Teaching Systems Manager
> > > jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
> > > Tel. 023 8059 2817          University of Southampton
> > >                              Southampton SO17 1BJ
>
> --
> Julian Field                Teaching Systems Manager
> jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
> Tel. 023 8059 2817          University of Southampton
>                              Southampton SO17 1BJ
>




More information about the MailScanner mailing list