/usr/include/glib-2.0/glib/gtypes.h:34:24: fatal error: glibconfig.h: No such file or directory

Bug #793155 reported by Daniel Polehn
64
This bug affects 12 people
Affects Status Importance Assigned to Milestone
glib2.0 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Looking through some of the bugs linked to oneiric alpha 2 it appears that the may be a problem with glib2.0-dev. A lot of packages that reference gtypes.h are failing to build, for example see lp:755924. The error looks like this '/usr/include/glib-2.0/glib/gtypes.h:34:24: fatal error: glibconfig.h: No such file or directory', I believe that glibconfig.h has moved or something. This appears to me to be a bug with glib2.0-dev and not the packages that use it. Am I correct is this something that needs to be fixed in glib2.0-dev or is there some change that needs to happen to these other packages?

Revision history for this message
kemiisto (kemiisto) wrote :

Encountered the same error while trying to compile Last.fm Scrobbler from sources. Found some bug at Emacs and Debian bug list that seems to be related.

http://lists.gnu.org/archive/html/bug-gnu-emacs/2011-04/msg00304.html
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8497

Revision history for this message
Mikael Bergqvist (mikaelb) wrote :

Just tried to build TextRoom from sources and got the same error.
/usr/include/glib-2.0/glib/gtypes.h:34:24: fatal error: glibconfig.h:

To get the compilation to work I had to add the full path, which for me, 11.04, kubuntu x86_64, is:
/usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h

Revision history for this message
jmrk (joergen-kornfeld) wrote :

same here, adding the right path to compilation of my program by -I/usr/lib/x86_64-linux-gnu/glib-2.0/include/ fixed the issue for me. Still, this seems like a general problem?

Revision history for this message
Chuxiao Cao (chuxpy) wrote :

Same error when trying to install LibJingle. Indeed, 11.04 Ubuntu i386: /usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h is the correct location of glibconfig.h..

Changed in glib2.0 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.