MailScanner-4.34.8-1 Installation Problems
Boulytchev, Vasiliy
vboulytchev at COINFOTECH.COM
Tue Oct 5 18:33:06 IST 2004
Errors:
#rpmbuild --rebuild perl-Archive-Zip-1.13-1.src.rpm
SNIP
Processing files: perl-Archive-Zip-1.13-1
error: File not found:
/var/tmp/perl-Archive-Zip-1.13-1-root/usr/share/man/man3/Archive::Zip::Tree.3pm
error: File not found:
/var/tmp/perl-Archive-Zip-1.13-1-root/usr/share/man/man3/Archive::Zip.3pm
error: File not found:
/var/tmp/perl-Archive-Zip-1.13-1-root/usr/share/man/man3/Archive::Zip::FAQ.3pm
error: File not found:/var/tmp/perl-Archive-Zip-1.13-1-root/usr/share/man/man3/Archive::Zip::MemberRe
d.3pm
RPM build errors:
File not found:
/var/tmp/perl-Archive-Zip-1.13-1-root/usr/share/man/man3/Archive::Zip::Tree.3pm
File not found:
/var/tmp/perl-Archive-Zip-1.13-1-root/usr/share/man/man3/Archive::Zip.3pm
File not found:
/var/tmp/perl-Archive-Zip-1.13-1-root/usr/share/man/man3/Archive::Zip::FAQ.3pm
File not found:/var/tmp/perl-Archive-Zip-1.13-1-root/usr/share/man/man3/Archive::Zip::MemberRe
d.3pm
So, went looking in the
/var/tmp/perl-Archive-Zip-1.13-1-root/usr/share/man/man3/
ALL FILES ARE THERE, except bziped, not a .3pm, so when i "bzip2 -d *"
they come out.
Another part of the rpmbuild, which is responsible for the errors above:
SNIP
Appending installation info to/var/tmp/perl-Archive-Zip-1.13-1-root/usr/lib/perl5/5.8.3/i386-linux-thread-mul
i/perllocal.pod
+ '[' -x /usr/lib/rpm/brp-compress ']'
+ /usr/lib/rpm/brp-compress
bzip2: Bad flag `-n'
bzip2, a block-sorting file compressor. Version 1.0.2, 30-Dec-2001.
usage: bzip2 [flags and input files in any order]
-h --help print this message
-d --decompress force decompression
-z --compress force compression
-k --keep keep (don't delete) input files
-f --force overwrite existing output files
-t --test test compressed file integrity
-c --stdout output to standard out
-q --quiet suppress noncritical error messages
-v --verbose be verbose (a 2nd -v gives more)
-L --license display software version & license
-V --version display software version & license
-s --small use less memory (at most 2500k)
-1 .. -9 set block size to 100k .. 900k
--fast alias for -1
--best alias for -9
If invoked as `bzip2', default action is to compress.
as `bunzip2', default action is to decompress.
as `bzcat', default action is to decompress to stdout.
If no file names are given, bzip2 compresses or decompresses
from standard input to standard output. You can combine
short flags, so `-v -4' means the same as -v4 or -4v, &c.
bzip2: Bad flag `-n'
SNIP
So what I did, is edited /usr/lib/rpm/brp-compress and took out the -n
option, which is by the way not part of bzip2........ Anyways, then
everything compiled just fine. I am having almost same issues with zlib
as stated below.
WHATS GOING ON! :(
Thanks,
Vasiliy Boulytchev
Colorado Information Technologies, Inc.
http://www.coinfotech.com
________________________________________________________________________________
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
Behalf Of Boulytchev, Vasiliy
Sent: Monday, October 04, 2004 5:11 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: MailScanner-4.34.8-1 Installation Problems
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_perl/5.8.3/i386-linu
-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-linu
-thread-multi/auto/Compress/Zlib/Zlib.bs
Thanks,
Vasiliy Boulytchev
Colorado Information Technologies, Inc.
http://www.coinfotech.com
------------------------ 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