Compilation error: glib.h not found

Asked by Sergey "Shnatsel" Davidoff on 2011-05-28

  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:
2011-05-28
Last query:
2011-05-28
Last reply:

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.

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