I get the same error relatively consistently when trying to install the stylish-haskell package off of hackage. The install went swimmingly until it got to installing condui
I'm not an expert here, but I think this is caused by Mavericks replacing the standard gcc
with a version of clang
wrapped with a gcc
-semi-compatible wrapper. It make GHC choke from time to time. You can fix it by editing /usr/local/lib/ghc-7.6.3/settings
so that the "C compiler command"
entry points to a valid gcc
.
For instance, I installed gcc
4.8 from Homebrew and then changed the settings line to
("C compiler command", "/usr/local/bin/gcc-4.9")