[OpenAFS-devel] what's "enable-redhat-buildsys" all about?
Derek Atkins
warlord@MIT.EDU
Wed, 16 Jun 2004 16:48:25 -0400
Matthew Miller <mattdm@mattdm.org> writes:
> On Wed, Jun 16, 2004 at 04:23:49PM -0400, Derek Atkins wrote:
>> It's designed to let you build against multiple kernels at once, and
>> pass in the various types of kernel architectures and build-types on
>> the compile line versus at configure time.
>> You should never use it from a command line.
>
> Why? A spec file is mostly just shell commands -- should be
> indistinguishable from the command line from the program-being-run's point
> of view.
Well, yes and no. A Spec file is a complete process to build an RPM
package. The mental model of what the OpenAFS SPEC is doing is NOT
the same mental model as a normal user building AFS from source.
The --enable-redhat-buildsys is supposed to make the OpenAFS code
work with the SPEC's mental model as opposed to the user's mental
model.
>> This failure has nothing to do with the redhat buildsys.
>
> Oh? Works perfectly fine without that flag -- add it, and failure. So it
> clearly has _something_ to do with it.
Then this is a bug in the configure script. Note that the SPEC file
does not support Linux 2.6.
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available