MailScanner-4.34.8-1 Installation Problems

Boulytchev, Vasiliy vboulytchev at COINFOTECH.COM
Wed Oct 6 00:40:14 IST 2004


Is it just some systems having issues?  This is on Mandrake 10.0


Thanks,
Vasiliy Boulytchev
Colorado Information Technologies, Inc.
http://www.coinfotech.com

-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf
Of Julian Field
Sent: Tuesday, October 05, 2004 10:54 AM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: MailScanner-4.34.8-1 Installation Problems


But the perl module dependencies are added automatically when the RPM is
built, apparently taken from the Makefile.PL contents. I'm not sure how to
build the RPM's without it using this information. There doesn't appear to
be an easy way to do it.

Anyone know how to do this with rpmbuild?

At 17:17 05/10/2004, you wrote:
>Julian
>
>There appears to be a bug in the logic of install.sh. You should not be
>using Perl to check for the presence of modules since Perl will find
>them even when they were not installed by RPM.
>
>This causes a problem because when you install a RPM binary it seems to
>check whether dependent modules are present by reference to the RPM
>database.
>
>However a module may have been installed earlier by non-RPM means. Your
>script decides whether a module is present or not by using Perl. This
>will find the module when it was _not_ installed by RPM. You then skip
>the necessary rpmbuild and rpm -Uvh steps needed to update the RPM
>database.
>
>This was the case with Compress-Zlib. It _is_ installed on the system
>but is not in the RPM database. However the binary RPM for Archive-Zip
>expects to see Compress-Zlib in the list of RPM-installed modules.
>
>
>
>Quentin
>---
>PHONE: +44 191 222 8209    Information Systems and Services (ISS),
>                            University of Newcastle,
>                            Newcastle upon Tyne,
>FAX:   +44 191 222 8765    United Kingdom, NE1 7RU.
>-----------------------------------------------------------------------
>- "Any opinion expressed above is mine. The University can get its
>own."
>
> >-----Original Message-----
> >From: MailScanner mailing list
> >[mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of Quentin Campbell
> >Sent: 05 October 2004 15:04
> >To: MAILSCANNER at JISCMAIL.AC.UK
> >Subject: Re: MailScanner-4.34.8-1 Installation Problems
> >
> >Julian
> >
> >I have just upgraded two RedHat AS/ES 3 systems to 4-34.8-1 but the
> >attempt to ugrade a third AS 3 system failed in install.sh with:
> >
> >   error: Failed dependencies:
> >          perl (Compress::Zlib) is needed by perl-Archive-Zip-1.13-1.
> >
> >Using CPAN and "installing Compress::Zlib" I am told that it is up to
> >date!
> >
> >However looking a bit more closely I find that on the two systems on
> >which 4.34.8-1 was successfully installed there is present the files
> >
> >  /usr/src/redhat/RPMS/i386/perl-Compress-Zlib-1.33-1.i396.rpm
> >
> >/usr/src/redhat/RPMS/i386/perl-Compress-Zlib-debuginfo-1.33-1.i396.rp
> >m
> >
> >
> >These are not present in the system on which install.sh is failing. I
> >assume it should thus install the perl-Compress-Zlib-1.33-2.i396.rpm
> >you provide on the download for RedHat systems.
> >
> >However this begs the question as to why the later version you
> >provide
> >(1.33-2) is not installed in place of the existing version (1.33-1)
> >on my two successful builds.
> >
> >
> >>-----Original Message-----
> >>From: MailScanner mailing list
> >>[mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of Julian Field
> >>Sent: 05 October 2004 03:42
> >>To: MAILSCANNER at JISCMAIL.AC.UK
> >>Subject: Re: MailScanner-4.34.8-1 Installation Problems
> >>
> >>At 00:11 05/10/2004, you wrote:
> >>
> >>>Ladies and Gents,
> >>>         rpmbuild --rebuild perl-Archive-Zip-1.13-1.src.rpm yields
> >>>serveral errors.  Some of which had inherent bzip2 syntax
> >>problems.  What
> >>> is the issue?  After editing the following
> >>/usr/lib/rpm/brp-compress, and
> >>> taking off the "-n" directive, then everything went through. Now
> >>> its doing some more weirdness with perl-Compress-Zlib-1.33-2.src.rpm.
> >>>
> >>>What is going on???
> >>>
> >>>Processing files: perl-Compress-Zlib-1.33-2
> >>>error: File not found:
> >>>/var/tmp/perl-Compress-Zlib-1.33-2-root/usr/lib/perl5/site_per
> >>l/5.8.3/i386-linux-thread-multi/auto/Compress/Zlib/Zlib.bs
> >>>
> >>>RPM build errors:
> >>>     File not found:
> >>>
> >>/var/tmp/perl-Compress-Zlib-1.33-2-root/usr/lib/perl5/site_perl
> >>/5.8.3/i386-linux-thread-multi/auto/Compress/Zlib/Zlib.bs
> >>
> >>Something failed in the "make" stage of building perl-Compress-Zlib.
> >>Suggest you take a good look at the output from that rebuild.

--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz MailScanner thanks
transtec Computers for their support Buy the MailScanner book at
www.MailScanner.info/store

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

------------------------ MailScanner list ------------------------ To
unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and the
archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

    [ Part 2, Application/X-PKCS7-SIGNATURE  5.9KB. ]
    [ Unable to print this part. ]




More information about the MailScanner mailing list