installing glib-0.12.4 on Mac

Hi, When I tried to install glib-0.12.3 on OS X 10.8.5 with GHC 7.6.3, I got the following error: ---- 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.4... Building glib-0.12.4... Preprocessing library glib-0.12.4... gtk2hsC2hs: Error in C header file. /usr/include/dirent.h:147: (column 10) [FATAL]
Syntax error! The symbol `^' does not fit here.
Failed to install glib-0.12.4 ---- I believe I could install it on 31 July 2013 and I don't think I changed anything. Does anyone know how to fix this? --Kazu

On 13-10-16 08:05 AM, Kazu Yamamoto (山本和彦) wrote:
/usr/include/dirent.h:147: (column 10) [FATAL]
Syntax error! The symbol `^' does not fit here.
Are you using the combination of GHC 7.6 and Xcode 5? Then you may like to know about http://www.haskell.org/pipermail/haskell-cafe/2013-September/110320.html and http://www.reddit.com/r/haskell/comments/1ml97r/haskellcafe_psa_do_not_insta...
participants (2)
-
Albert Y. C. Lai
-
Kazu Yamamoto