Re: build problems with BuildFlavour = prof

Daniel Fischer <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
On Donnerstag, 1. November 2012, 08:50:53, Richard Eisenberg wrote:
> 1) Is cabal's error correct? Do I really need to enable profiling to get
> transformers working? Or is some other incompatibility at play here? (For
> what it's worth, what I really want is the mtl library, but that depends on
> transformers.)

You probably have

library-profiling: True

in your ~/.cabal/config, so cabal tries to build profiling versions of the 
libraries. That of course requires profiling versions of their dependencies. 
The quick build-flavour doesn't build profiling versions of base etc., so you 
can't build profiling versions of other libraries with that.

cabal install --disable-library-profiling transformers

ought to work.

> 2) Is there a bug in the build process for BuildFlavour =
> prof?

Seems so, I get the same error.

> 
> If it matters, I am using GHC 7.6.1 as my base compiler on Mac OS 10.7.5. I
> can give other version numbers, etc., on request.
> 
> Thanks!
> Richard
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.