Re: Make Redhat

From: Christian Holm Christensen <cholm_at_nbi.dk>
Date: Mon, 23 May 2005 16:10:08 +0200


Hi Germano,

On Fri, 2005-05-20 at 13:23 +0200, Germano Percossi wrote:
> Hi everybody,
>
> Maybe this is a question for Christian Holm (that I thank again for our
> private discussion, I found an intermediate solution for the problem
> I exposed you).

Great!

> When running 'make redhat' a very good spec file is produced smoothly.
> Trying to compile from src.rpm I was warned that krb5-devel package
> is missing
> so I installed the required development library.

The requirement off `krb5-devel' in this case, comes from XRootd.

> Fortunately that was only I try and, anyway, I didn't compile ROOT.
> Afetr a while I did "make redhat' again but this time the spec file
> is different. In attachment the diff file.
>
> I think that scripts that generates the spec file depends on the
> presence of krb5
> libraries (among other things), and only if the krb5 libraries are
> available the
> root-pluging-krb5 is included in the spec file.

That is correct.

> Is this the expected behaviour?

Yes and no. It's weird that the first spec does not contain `root-plugin-krb5', even though it could be built.

However, it comes from the fact, that the top-level configure script does not do all the checks for xrootd. When you ran configure the first time, it didn't see the KerberosV libraries, and so it didn't enable the `root-plugin-krb5' package. Second time you ran it, it did see those libraries and therefor enabled the package in question.

However, the first time you ran the configure script, you had xrootd enabled, and so the packaging scripts knows that you need to have `krb5-devel' installed to be able to build the `root-xrootd' package.

It would be nicer to have `root-plugin-krb5' enabled automatically when `root-xrootd' is enabled.

> Is it normal that I am warned about missing libraries when the spec
> file is
> not able to build the correspondent plugin?

Sorry, I don't understand your question. Could you show some output, or elaborate? Thanks.

Yours,

-- 
 ___  |  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:   cholm_at_nbi.dk               Web:    www.nbi.dk/~cholm
 | |
Received on Mon May 23 2005 - 16:10:19 MEST

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