Re: libgnomeui patch



On Sun, 2001-11-04 at 11:00, Maciej Stachowiak wrote:
> On 04Nov2001 01:47AM (-0500), George Karabin wrote:
> > George Karabin wrote:
> > 
> > > Maciej Stachowiak wrote:
> > >
> > > >Code that is not a gnome-vfs module should not be including headers
> > > >from $includedir/gnome-vfs-module-2.0. I'll check it out and remove
> > > >the inappropriate includes if possible.
> > > >
> > >
> > > FWIW, I think I'm seeing something similar in libgnome. help-method.c is
> > > having all kinds of header file problems. Here's the error I'm seeing,
> > > using rebuild.sh on gnome-head.
> > 
> > 
> > FWIW, reverting this change in gnome-vfs/libgnomevfs/Makefile.am got me 
> > past my problem in libgnome and on to the point in libgnomeui where 
> > Rodrigo hit the inappropriate includes:
> > 
> > -libgnomevfsmoduleincludedir = 
> > $(includedir)/gnome-vfs-module-2.0/libgnomevfs
> > +libgnomevfsmoduleincludedir = $(includedir)/gnome-vfs-module-2.0/
> > 
> > It looks like any code that was including from 
> > $includedir/gnome-vfs-module-2.0 (whether it should or shouldn't have) 
> > was trying to include using this path: 
> > <libgnome/some-gnome-vfs-module-2.0-header-file-here.h>
> > 
> > So changing the install directories was causing blowups as well in 
> > libgnome. Hope that helps some, if you haven't figured it out already.
> > 
> 
> I think I already fixed the problems with module header files in
> libgnome. In that case, there actually is a gnome-vfs module included,
> so the module headers are needed. I'm still not sure what's up with
> libgnomeui, I'm trying to build it now.
> 
the problem, as far as I remember it (it works now, so can't send you a
log) is that some gnome-vfs header files include .h files that are in
$includedir/gnome-vfs-module-2.0.

And, as pkg-config --cflags gnome-vfs-2.0 does not return the
corresponding -I flag for that directory, it fails.

cheers
-- 
Rodrigo Moya <rodrigo gnome-db org> - <rodrigo ximian com>
http://www.gnome-db.org/ - http://www.ximian.com/



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