Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Glib - "Only <glib.h> can be included directly."
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
yjakoet
n00b
n00b


Joined: 15 Sep 2007
Posts: 5
Location: Cape Town, SA

PostPosted: Sat Apr 14, 2012 7:47 pm    Post subject: Glib - "Only <glib.h> can be included directly.&q Reply with quote

Hi

Could somebody tell me if there is a way to overcome this problem?
Thus far it has happened with mysql-workbench and avant-window-navigator-extras.

I'm not too concerned about awn, but I do use mysql-workbench.

What should I do to fix this?

Thanks
Back to top
View user's profile Send private message
ssuominen
Developer
Developer


Joined: 30 Sep 2005
Posts: 1821
Location: Finland

PostPosted: Sun Apr 15, 2012 10:59 am    Post subject: Re: Glib - "Only <glib.h> can be included directl Reply with quote

yjakoet wrote:
Hi

Could somebody tell me if there is a way to overcome this problem?
Thus far it has happened with mysql-workbench and avant-window-navigator-extras.

I'm not too concerned about awn, but I do use mysql-workbench.

What should I do to fix this?

Thanks


I don't maintain mysql-workbench but only avant-window-navigator-extras so I've fixed it based on this thread:

http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/avant-window-navigator-extras/files/avant-window-navigator-extras-0.4.0-glib-2.31.patch?rev=1.1&content-type=text/plain

The trick is to change complaining #include <glib/foobar.h> line to #include <glib.h>.

And this is a wrong place to report bugs to, please use http://bugs.gentoo.org/
Back to top
View user's profile Send private message
yjakoet
n00b
n00b


Joined: 15 Sep 2007
Posts: 5
Location: Cape Town, SA

PostPosted: Sun Apr 15, 2012 10:37 pm    Post subject: Re: Glib - "Only <glib.h> can be included directl Reply with quote

ssuominen wrote:
yjakoet wrote:
Hi

Could somebody tell me if there is a way to overcome this problem?
Thus far it has happened with mysql-workbench and avant-window-navigator-extras.

I'm not too concerned about awn, but I do use mysql-workbench.

What should I do to fix this?

Thanks


I don't maintain mysql-workbench but only avant-window-navigator-extras so I've fixed it based on this thread:

http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/avant-window-navigator-extras/files/avant-window-navigator-extras-0.4.0-glib-2.31.patch?rev=1.1&content-type=text/plain

The trick is to change complaining #include <glib/foobar.h> line to #include <glib.h>.

And this is a wrong place to report bugs to, please use http://bugs.gentoo.org/


Thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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