It seems some of the makefiles aren't able to find /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h.
$ make
build/linux-amd64/gnet/types.xml
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from /usr/include/gnet-2.0/gnet.h:24,
from tmpfile.c:1:
/usr/include/glib-2.0/glib/gtypes.h:34:24: error: glibconfig.h: No such file or directory
I've tried hardlinking it to /usr/include/glib-2.0/glib/glibconfig.h but still get the same error.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It seems some of the makefiles aren't able to find /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h.
$ make
build/linux-amd64/gnet/types.xml
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from /usr/include/gnet-2.0/gnet.h:24,
from tmpfile.c:1:
/usr/include/glib-2.0/glib/gtypes.h:34:24: error: glibconfig.h: No such file or directory
I've tried hardlinking it to /usr/include/glib-2.0/glib/glibconfig.h but still get the same error.
I got it to compile by linking to:
/usr/include/glib-2.0/glibconfig.h
instead of:
/usr/include/glib-2.0/glib/glibconfig.h
I haven't seen this error. pkg-config is used to find the include paths:
$ pkg-config -cflags glib-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
this already points to the directory where glibconfig.h is to be found. You can check the CFLAGS compilation settings:
$ cat build/linux-amd64/glib/config.make
Or you can run make like this to see all the commands issued
$ make H=