Cabal etc

Simon Peyton-Jones <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <59543203684B2244980D7E4057D5FBC13F776FDC@DB3EX14MBXC308.europe.corp.microsoft.com>
Ian

As you know, the change to dyamic-by-default has broken cabal install. Here's my recent attempt:

$ cabal install thrist-0.3 --with-ghc=/home/simonpj/5builds/HEAD/inplace/bin/ghc-stage2
$ ~/5builds/HEAD/inplace/bin/ghc-stage1 -c T7438.hs

T7438.hs:5:1:
    Failed to load interface for `Data.Thrist'
    Perhaps you haven't installed the "dyn" libraries for package `thrist-0.3'?
    Use -v to see a list of the files searched for.

Simon says that this is only going to work right if I install a new cabal; but cabal install cabal-install isn't going to work.

So he helped me past the obstacle (via --ghc-option=-static), but that's not going to work for Template Haskell. Moreover, this is going to bite everyone, and soon.

Can you advise?  I think it may be a combination of 
 * releasing a new Cabal on Hackage
 * writing very explicit instructions to say what to do, 
   and on what platforms it is necessary

(He remarked that the new Cabal installs both static and dynamic by default; should that be dynamic only?  Do others have opinions?

This seems pretty urgent to me.

Thanks

Simon
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.