cabal -V
cabal-install version 0.6.4
using version 1.6.0.3 of the Cabal library
bash-3.2$ ghc -V
The Glorious Glasgow Haskell Compilation System, version 6.10.4
bash-3.2$ cabal install darcs
Resolving dependencies...
[1 of 1] Compiling Main ( /var/folders/Gj/Gj20S2zmFESpNdOqFfUlq++++TI/-Tmp-/haskeline-0.6.2.26747/haskeline-0.6.2.2/Setup.hs, /var/folders/Gj/Gj20S2zmFESpNdOqFfUlq++++TI/-Tmp-/haskeline-0.6.2.26747/haskeline-0.6.2.2/dist/setup/Main.o )
Linking /var/folders/Gj/Gj20S2zmFESpNdOqFfUlq++++TI/-Tmp-/haskeline-0.6.2.26747/haskeline-0.6.2.2/dist/setup/setup ...
Configuring haskeline-0.6.2.2...
checking whether to use -liconv... using -liconv.
Preprocessing library haskeline-0.6.2.2...
/usr/bin/hsc2hs: line 16: unexpected EOF while looking for matching `"'
/usr/bin/hsc2hs: line 17: syntax error: unexpected end of file
Configuring zlib-0.5.2.0...
Preprocessing library zlib-0.5.2.0...
/usr/bin/hsc2hs: line 16: unexpected EOF while looking for matching `"'
/usr/bin/hsc2hs: line 17: syntax error: unexpected end of file
cabal: Error: some packages failed to install:
darcs-2.4 depends on zlib-0.5.2.0 which failed to install.
hashed-storage-0.4.7 depends on zlib-0.5.2.0 which failed to install.
haskeline-0.6.2.2 failed during the building phase. The exception was:
exit: ExitFailure 2
zlib-0.5.2.0 failed during the building phase. The exception was:
exit: ExitFailure 2