title: installing harfbuzz 1.0.1 on CentOS 5
body: <p>I'm trying to install harfbuzz-1.0.1 on a CentOS 5 machine where I do NOT have sudo access, and hence need to install into non-standard locations. I have downloaded and unpacked the source code, and added what I believe to be the relevant dependences to my <code>$PKG_CONFIG_PATH</code>. These packages include:</p>
  
  <ul>
  <li>freetype2</li>
  <li>icu-uc</li>
  </ul>
  
  <p>Checking that '$PKG_CONFIG_PATH` is correct:</p>
  
  <pre><code>$pkg-config --modversion freetype2
  9.22.3
  $pkg-config --modversion icu-uc
  55.1
  </code></pre>
  
  <p>Within the unpacked source directory, I ran:</p>
  
  <pre><code>$ ./configure --prefix=/some/custom/path
  # produces lots of output, but summary here
  Build configuration:
  
  Unicode callbacks (you want at least one):
      Glib:           true
      ICU:            true
      UCDN:           false
  
  Font callbacks (the more the better):
      FreeType:       false
  
  Tools used for command-line utilities:
      Cairo:          true
      Fontconfig:     true
  
  Additional shapers (the more the better):
      Graphite2:      false
  
  Platform shapers (not normally needed):
      CoreText:       false
      Uniscribe:      false
  
  Other features:
      Documentation:      no
      GObject bindings:   false
      Introspection:      false
  </code></pre>
  
  <p>However, <code>make</code> fails with the following error:</p>
  
  <pre><code>In file included from hb-glib.cc:31:0:
  hb-glib.h:50:22: error: 'GBytes' was not declared in this scope
   hb_glib_blob_create (GBytes *gbytes);
                        ^
  hb-glib.h:50:30: error: 'gbytes' was not declared in this scope
   hb_glib_blob_create (GBytes *gbytes);
                                ^
  hb-glib.cc:389:22: error: redefinition of 'hb_blob_t* hb_glib_blob_create'
   hb_glib_blob_create (GBytes *gbytes)
                        ^
  In file included from hb-glib.cc:31:0:
  hb-glib.h:50:1: error: 'hb_blob_t* hb_glib_blob_create' previously defined here
   hb_glib_blob_create (GBytes *gbytes);
   ^
  hb-glib.cc:389:22: error: 'GBytes' was not declared in this scope
   hb_glib_blob_create (GBytes *gbytes)
                        ^
  hb-glib.cc:389:30: error: 'gbytes' was not declared in this scope
   hb_glib_blob_create (GBytes *gbytes)
                                ^
  make[4]: *** [libharfbuzz_la-hb-glib.lo] Error 1
  </code></pre>
  
  <p>I can't determine anything from the <code>config.log</code> file, but then again I'm not exactly sure what to look for. I'm guessing that perhaps there's an unmet dependency somewhere, but I'm kind of at a loss at this point. Any help would be greatly appreciated and I'm happy to provide more info if needed. Thanks a lot.</p>
  
  <p>If it's helpful, here is <a href="https://s3.amazonaws.com/tnat1031-misc/config.log" rel="nofollow">the full config.log</a>.</p>