[Haskell-cafe] cabal install darcs fails on Mac OS X Snow Leopard

George Colpitts george.colpitts at gmail.com
Sun Mar 7 10:44:44 EST 2010


I'm unable to install darcs using cabal. It seems to be getting an error
configuring haskeline.Can anybody help?

Thanks


 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

When I installed ghc on Snow Leopard I followed the instructions at
http://www.haskell.org/haskellwiki/Mac_OS_X
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100307/aa7f2119/attachment.html


More information about the Haskell-Cafe mailing list