Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gnome overlay: glib issues
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
majorde
n00b
n00b


Joined: 12 Jun 2007
Posts: 3

PostPosted: Fri Jan 11, 2008 6:37 am    Post subject: gnome overlay: glib issues Reply with quote

I added the gnome overlay via layman and began to update my gnome packages to the development versions, including an updated version of glib, but some of the packages are failing (evolution, control-center and some others) with errors similar to this

Code:
In file included from camel-arg.c:29:
camel-arg.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'enum'
camel-arg.c:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
make[3]: *** [camel-arg.lo] Error 1


Looking at the files in question I was able to determine that the G_BEGIN_DECLS and G_END_DECLS macros were not being defined. On further investigation I found that some make files were including the glib-1.2 include directory before the glib-2.0 directory on the command line in some places, causing glib include directives to grab the 1.2 glib.h which doesn't define the macros.

My work-around for this is installing as many things as will install normally, then unmerging glib-1.2, installing the packages with this issue, and then reinstalling glib-1.2. It seems to work, but I can't imagine it's the best way to go.

Does anyone know of a simple way that I can disable glib-1.2 or mark glib-2.0 as being preferred so the 2.0 glib.h is always selected when it's needed?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum