planning for ghc-6.10.1 and hackage

Jean-Philippe Bernardy bernardy at chalmers.se
Fri Oct 10 09:04:23 EDT 2008


On Thu, Oct 9, 2008 at 5:28 PM, Duncan Coutts
<duncan.coutts at worc.ox.ac.uk> wrote:
> Right, you need the darcs version of cabal-install.

Many packages build fine, but linking Yi fails with:

Linking dist/build/yi/yi ...
/usr/bin/ld: cannot find -lHSrts_thr

Indeed, there is no such file for 6.10:

$ find ~/usr -name "*HSrts*"
/home/bernardy/usr/lib/ghc-6.8.0.20071018/libHSrts.a
/home/bernardy/usr/lib/ghc-6.8.0.20071018/HSrts.o
...
/home/bernardy/usr/lib/ghc-6.8.3/libHSrts.a
/home/bernardy/usr/lib/ghc-6.8.3/libHSrts_debug.a
/home/bernardy/usr/lib/ghc-6.8.3/libHSrts_p.a
/home/bernardy/usr/lib/ghc-6.8.3/libHSrts_thr.a
/home/bernardy/usr/lib/ghc-6.8.3/libHSrts_thr_debug.a
/home/bernardy/usr/lib/ghc-6.8.3/libHSrts_thr_p.a
/home/bernardy/usr/lib/ghc-6.8.3/HSrts.o
/home/bernardy/usr/lib/ghc-6.10.0.20081007/libHSrts.a
/home/bernardy/usr/lib/ghc-6.10.0.20081007/HSrts.o


Strangley, compiling by hand  works:
$ ghc -cpp --make Main.hs -idist/build/autogen/
-idist/build/yi/yi-tmp/ -IYi/Lexer -XTypeSynonymInstances -XRankNTypes
-XFlexibleContexts -XGeneralizedNewtypeDeriving -XDeriveDataTypeable
-o M -threaded

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.10.0.20081007

$ cabal --version
cabal-install version 0.5.10
using version 1.6.0.0 of the Cabal library

(fetched from repo this morning)

Cheers,
JP.



More information about the cabal-devel mailing list