---
Configuration summary
* Installation prefix = /opt/mono/3.6/
* C# compiler: /opt/mono/3.6/bin/mcs -define:GTK_SHARP_2_6 -define:GTK_SHARP_2_8 -define:GTK_SHARP_2_10 -define:GTK_SHARP_2_12
Optional assemblies included in the build:
* glade-sharp.dll: yes
* gtk-dotnet.dll: yes
* Mono.Cairo.dll: using system assembly
NOTE: if any of the above say 'no' you may install the
corresponding development packages for them, rerun
autogen.sh to include them in the build.
* Documentation build enabled: yes
WARNING: The install prefix is different than the monodoc prefix.
Monodoc will not be able to load the documentation.
---

参考資料

"Only <glib.h> can be included directly."が発生する場合の対処

ビルド中に以下のエラーが発生する場合の対処。

/usr/include/glib-2.0/glib/gthread.h:29:2: error: #error "Only <glib.h> can be included directly."
#error "Only <glib.h> can be included directly."
^
In file included from /usr/include/glib-2.0/glib/gthread.h:32:0,
from thread.c:23: