Hi folks

I recently tried building cctbx+dials on Ubuntu 15.04 following the instructions here: http://dials.github.io/documentation/installation_developer.html

This failed during installation of pango-1.16.1. Looking at pango_install_log, I see the command that failed was as follows:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DSYSCONFDIR=\"/home/fcx32934/sw/dials_bootstrap_test/base/etc\" -DLIBDIR=\"/home/fcx32934/sw/dials_bootstrap_test/base/lib\" -DG_DISABLE_CAST_CHECKS -I../.. -DG_DISABLE_DEPRECATED -I/home/fcx32934/sw/dials_bootstrap_test/base/include -I/home/fcx32934/sw/dials_bootstrap_test/base/include/freetype2 -g -O2 -Wall -MT fribidi.lo -MD -MP -MF .deps/fribidi.Tpo -c fribidi.c  -fPIC -DPIC -o .libs/fribidi.o
In file included from fribidi.h:31:0,
                 from fribidi.c:28:
fribidi_config.h:1:18: fatal error: glib.h: No such file or directory

The file glib.h appears to be in base/include/glib-2.0/, however this directory was not explicitly included in the command above, only its parent. This suggests a configuration failure in pango to me. Taking a look at base_tmp/pango-1.16.1/config.log, I see what look like the relevant lines:

configure:22227: checking for GLIB
configure:22235: $PKG_CONFIG --exists --print-errors "$GLIB_MODULES"
configure:22238: $? = 0
configure:22253: $PKG_CONFIG --exists --print-errors "$GLIB_MODULES"
configure:22256: $? = 0
configure:22304: result: yes

but this doesn't tell me very much. Does anyone have any suggestions as to how I might proceed?

Many thanks

-- David