[Gtk-sharp-list] Novell Linux Desktop 9 can't compile gtk-sharp-2 due to glib apparently installed incorrectly

Geoffrey Gowan ggowan_2000 at yahoo.com
Sat Oct 29 23:32:12 EDT 2005


Hi,
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.

Thanks,
Geoff


--
Geoffrey Gowan


		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com


More information about the Gtk-sharp-list mailing list