Re: [Nautilus-list] eel compilation problem



One problem i see in the Makefile is that the generated .c files aren't
cleaned on 'make clean'

I just checked in a fix into eel/eel/Makefile.am.  Until we figure out
the dependency problem, you can do make clean and rebuild and you should
be in business again.

-re

Gene Ragan wrote:
> 
> This error happens on both my work and home machines.
> 
> Gene
> 
> ----- Original Message -----
> From: Ramiro Estrugo <ramiro eazel com>
> To: Trevor Nichols <ocdi ocdi org>
> Cc: <nautilus-list eazel com>; <mjs eazel com>; <darin eazel com>
> Sent: Wednesday, April 18, 2001 9:02 AM
> Subject: Re: [Nautilus-list] eel compilation problem
> 
> > Actually, the up-to-date CVS version is ok.  I dont think this is a real
> > build problem.  Tinderbox is green.
> >
> > A few people on #nautilus (tigert for one) have reported the same
> > problem.
> >
> > I think that the problem is build dependency which nautilus hackers that
> > user maintainer mode dont see.  Thats probably everyone.
> >
> > Heres my theory of why this is happening.
> >
> > A few days ago, Maciej changed eel to automatically generated gtk
> > enumerations for all C enums defined in any eel header.
> >
> > Now, the code that populates the enumerations  - eel-types.c and
> > eel-type-builtins-evals.c (included from eel-types.c) have a dependency
> > on the header in question.  In this case eel-dnd.h which Darin changed
> > yesterday.
> >
> > So the problem is that the auto generated eel-type-builtins-evals.c
> > doesnt have a proper dependency on the headers that are used to generate
> > it - even if a little indirectly because of the way makeenums.pl works.
> >
> > Im not sure why this works with maintainer mode but not otherwise.
> >
> > How to fix it ?  Anyone have ideas ?  Maybe its as simple as appending
> > $(eel_headers) to the dependency list for eel-type-builtins-evals.c (and
> > maybe the other auto generated files) ?
> >
> > Maybe the autogenerated .c files should be compiled instead of being
> > #included from eel-types.c ?  Probably not the way makeenums.pl is
> > designed to work.
> >
> > -re
> >





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]