Re: Make Redhat (again..)

From: Christian Holm Christensen <>
Date: Tue, 24 May 2005 21:21:48 +0200

Hi Germano,

On Tue, 2005-05-24 at 18:51 +0200, Germano Percossi wrote:
> I wonder if I see errors everywhere or if I'm the only one using
> RPM.. :'(
This particular error is centric to your (kind) of system. Which distribution are you using? What version?

Note, on the system I tested the scripts on (SLC3 mainly), this was not a problem.

> In the spec file there's a line in which 'sed' is invoked
> sed -e 's/\.1$/.1.gz/'
> to convert .1 extensions for man pages in .1.gz; but what if
> the system produces man pages in .bz2 format?
> As you guessed it's what happened to me..
> 'make install' has produced bz2 man pages while the script make
> rpm search for files names *.gz

When I look in `/usr/lib/rpm/i386-linux/macros', I see that the macro `%__os_install_post' expands to (amount other things), `/usr/lib/rpm/brp_compress', which is a shell script. Looking in that shell script, I see that it uses GZip. On your system it may be different.

I looked at the same shell script on lxplus (SLC3), and they also use GZip.

I'm not sure what the solution is. Could you try to take out the line that transforms the names, and see what happens? Thanks.

One solution would could be to look at what is actually in the directory: BZip2ped or GZipped files. However, it's a hack, and I'm not that fond of it.


 ___  |  Christian Holm Christensen 
  |_| |  -------------------------------------------------------------
    | |  Address: Sankt Hansgade 23, 1. th.  Phone:  (+45) 35 35 96 91
     _|           DK-2200 Copenhagen N       Cell:   (+45) 24 61 85 91
    _|            Denmark                    Office: (+45) 353  25 404
 ____|   Email:               Web:
 | |
Received on Tue May 24 2005 - 21:22:02 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:08 MET