Compilation error: glib.h not found

Asked by Sergey "Shnatsel" Davidoff

  CC libmarlincore_la-gof-file.lo
In file included from gof-file.c:20:0:
gof-file.h:23:18: fatal error: glib.h: No such file or directory
compilation terminated.

How do I fix this?

Question information

Language:
English Edit question
Status:
Solved
For:
Marlin Edit question
Assignee:
No assignee Edit question
Solved by:
Sergey "Shnatsel" Davidoff
Solved:
Last query:
Last reply:
Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) said :
#1

In Launchpad builds it looks like this:

make[5]: Entering directory `/build/buildd/marlin-0.0.1/libcore'
  CC libmarlincore_la-gof-file.lo
In file included from gof-file.c:20:0:
gof-file.h:23:18: fatal error: glib.h: No such file or directory
compilation terminated.

However, it seems to affect only Natty, this part works on Oneiric, so I guess it's just an outdated glib version.

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) said :
#2
Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) said :
#3

This was a missing dependency in autogen.sh, fixed now.