title: Installing glib from git in mac os x and gettext
body: <p>I'm trying build glib from source in Mac OS X.</p>
  
  <p>I've clone glib repo from gnome site.</p>
  
  <p>The <code>autogen.sh</code> script seems to run fine. But when it starts it shows this message :</p>
  
  <pre><code>autoreconf: Entering directory `.'
  autoreconf: configure.ac: not using Gettext
  </code></pre>
  
  <p>This seems spooky. However it finishes without showing any error. After spawning configure script it stops with the error :</p>
  
  <pre><code>checking libintl.h usability... no
  checking libintl.h presence... no
  checking for libintl.h... no
  configure: error: 
  *** You must have either have gettext support in your C library, or use the
  *** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html
  </code></pre>
  
  <p>Although i've install <code>gettext</code> from macports and it seems to be there :</p>
  
  <pre><code>arif@dev:~/sak/glib$ls /opt/local/lib/ | grep gettext
  gettext
  libgettextlib-0.18.3.dylib
  libgettextlib.dylib
  libgettextlib.la
  libgettextpo.0.dylib
  libgettextpo.a
  libgettextpo.dylib
  libgettextpo.la
  libgettextsrc-0.18.3.dylib
  libgettextsrc.dylib
  libgettextsrc.la
  </code></pre>
  
  <p>One thing i've noticed that although <code>gettext</code> is installed, it does not have <code>pkg-config</code> file. Maybe that's why its happening .</p>
  
  <pre><code>arif@dev:~/sak/glib$ls /opt/local/lib/pkgconfig/ | grep gettext
  </code></pre>
  
  <p>comes out with nothing.</p>