Installation worked fine. However I encountered a problem that looks like a regression, although it may be a problem with new versions of the package I am trying to install:
cabal install -j3 glib
Resolving dependencies...
Configuring glib-0.12.5.4...
Building glib-0.12.5.4...
Failed to install glib-0.12.5.4
Build log ( /Users/gcolpitts/.cabal/logs/glib-0.12.5.4.log ):
[1 of 2] Compiling SetupWrapper ( /var/folders/9b/rh4y2gy92hgdb6ktv4df1jv00000gn/T/glib-0.12.5.4-27489/glib-0.12.5.4/SetupWrapper.hs, /var/folders/9b/rh4y2gy92hgdb6ktv4df1jv00000gn/T/glib-0.12.5.4-27489/glib-0.12.5.4/dist/setup/SetupWrapper.o )
[2 of 2] Compiling Main ( /var/folders/9b/rh4y2gy92hgdb6ktv4df1jv00000gn/T/glib-0.12.5.4-27489/glib-0.12.5.4/dist/setup/setup.hs, /var/folders/9b/rh4y2gy92hgdb6ktv4df1jv00000gn/T/glib-0.12.5.4-27489/glib-0.12.5.4/dist/setup/Main.o )
Linking /var/folders/9b/rh4y2gy92hgdb6ktv4df1jv00000gn/T/glib-0.12.5.4-27489/glib-0.12.5.4/dist/setup/setup ...
[1 of 2] Compiling Gtk2HsSetup ( Gtk2HsSetup.hs, dist/setup-wrapper/Gtk2HsSetup.o )
[2 of 2] Compiling Main ( SetupMain.hs, dist/setup-wrapper/Main.o )
Linking dist/setup-wrapper/setup ...
Configuring glib-0.12.5.4...
Building glib-0.12.5.4...
Preprocessing library glib-0.12.5.4...
gtk2hsC2hs: Error in C header file.
/usr/include/dirent.h:147: (column 10) [FATAL]
>>> Syntax error!
The symbol `^' does not fit here.
cabal: Error: some packages failed to install:
glib-0.12.5.4 failed during the building phase. The exception was:
ExitFailure 1