title: 'glib.h' file not found on Max OSX 10.9
body: <p>I'm trying to compile <a href="https://github.com/djcb/mu/tree/master/toys/msg2pdf" rel="nofollow">msg2pdf</a> which is a tool to convert messages in mu4e (mu for Emacs) to pdf.
  I'm receiving the following error :</p>
  
  <pre><code>/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
  Making all in .
    CC       msg2pdf.o
  In file included from msg2pdf.c:20:
  In file included from ../../lib/mu-msg.h:24:
  ../../lib/mu-flags.h:24:10: fatal error: 'glib.h' file not found
  #include &lt;glib.h&gt;
           ^
  1 error generated.
  make[2]: *** [msg2pdf.o] Error 1
  make[1]: *** [all-recursive] Error 1
  make: *** [all] Error 2
  </code></pre>
  
  <p>Oddly, I checked the Makefile and GLIB_CFLAGS seem to be pointing on the right folder (where brew installed it). 
  In fact, <code>glib.h</code> is located in <code>/usr/local/Cellar/glib/2.40.0_1/include/glib-2.0</code>.</p>
  
  <pre><code>GLIB_CFLAGS = -D_REENTRANT -I/usr/local/Cellar/glib/2.40.0_1/include/glib-2.0 -I/usr/local/Cellar/glib/2.40.0_1/lib/glib-2.0/include -I/usr/local/opt/gettext/include 
  GLIB_LIBS = -L/usr/local/Cellar/glib/2.40.0_1/lib -L/usr/local/opt/gettext/lib -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl 
  </code></pre>
  
  <p>How can I succeed compiling the file? Is there any command line "hack" I can use while calling 
  make?</p>
  
  <p><strong>Edit</strong>
  Here are the files in the directory
  <a href="https://github.com/flexdec/temp" rel="nofollow">https://github.com/flexdec/temp</a></p>
  
  <p><strong>Edit 2</strong>
  This is the output when using make V=1</p>
  
  <pre><code>/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
  Making all in .
  gcc -DHAVE_CONFIG_H -I. -I../..  -I../../lib   -DICONDIR='""'  -Wall -Wextra -Wno-unused-parameter -Wdeclaration-after-statement -g -O2 -MT msg2pdf.o -MD -MP -MF .deps/msg2pdf.Tpo -c -o msg2pdf.o msg2pdf.c
  In file included from msg2pdf.c:20:
  In file included from ../../lib/mu-msg.h:24:
  ../../lib/mu-flags.h:24:10: fatal error: 'glib.h' file not found
  #include &lt;glib.h&gt;
           ^
  1 error generated.
  make[2]: *** [msg2pdf.o] Error 1
  make[1]: *** [all-recursive] Error 1
  make: *** [all] Error 2
  </code></pre>
  
  <p><strong>Edit 3</strong>
  The new error I get using <code>make V=1</code> now that GLIB_CFLAGS issue is fixed</p>
  
  <pre><code>/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
  Making all in .
  gcc -DHAVE_CONFIG_H -I. -I../..  -I../../lib   -D_REENTRANT -I/usr/local/Cellar/glib/2.40.0_1/include/glib-2.0 -I/usr/local/Cellar/glib/2.40.0_1/lib/glib-2.0/include -I/usr/local/opt/gettext/include  -DICONDIR='""'  -Wall -Wextra -Wno-unused-parameter -Wdeclaration-after-statement -g -O2 -MT msg2pdf.o -MD -MP -MF .deps/msg2pdf.Tpo -c -o msg2pdf.o msg2pdf.c
  msg2pdf.c:24:10: fatal error: 'gtk/gtk.h' file not found
  #include &lt;gtk/gtk.h&gt;
           ^
  1 error generated.
  make[2]: *** [msg2pdf.o] Error 1
  make[1]: *** [all-recursive] Error 1
  make: *** [all] Error 2
  </code></pre>