[Gtk-sharp-list] Novell Linux Desktop 9 can't compile gtk-sharp-2
due to glib apparently installed incorrectly
danw at novell.com
Tue Nov 1 10:30:10 EST 2005
The easy solution is to uninstall "glib-devel" (the glib 1 headers),
because you're unlikely to ever need it.
Geoffrey Gowan wrote:
> Seems like glib is installed oddly on my NLD9 system
> so that while compiling gtk-sharp-2 against glib2
> headers the glibconfig.h from glib (not glib2) is
> being used. The compile error occurs because
> G_BEGIN_DECLS is not defined before it is used in
> gtypes.h. Apparently gmacros.h is included in
> glibconfig.h for glib2 but not glib.
> There is a symbolic link to the glib version of
> glibconfig.h in /opt/gnome/include. Changing this
> symbolic link to point to the glib2 version fixes the
> compile problem, but I suppose this will break apps
> that want to build against glib instead of glib2.
> Anybody have any idea how this problem came to exist?
> It seems like there ought to be some way for each app
> to pick the correct version of glibconfig.h rather
> than me having to fudge this symbolic link each time.
> BTW, I'm new to this stuff, so forgive me if the same
> question was already asked. I looked at the last
> couple months of archives and didn't see it.
> Geoffrey Gowan
> Yahoo! FareChase: Search multiple travel sites in one click.
> Gtk-sharp-list maillist - Gtk-sharp-list at lists.ximian.com
More information about the Gtk-sharp-list