Problems installing Mailscanner

Roel Spijker r.spyker at HCCNET.NL
Tue Oct 22 14:46:33 IST 2002


> 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




More information about the MailScanner mailing list