How to compile git-annex?

Peng Yu pengyu.ut at
Sun Apr 26 04:34:29 UTC 2015

I have the following disabled.
~/.cabal$ grep prof config
-- line to your ~/.bash_profile:
-- library-profiling: True
-- executable-profiling: False

But I got this error. How to fix it?

~/.cabal$ cabal install git-annex
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: git-annex-5.20150420 (user goal)
trying: resourcet- (dependency of git-annex-5.20150420)
next goal: transformers-compat (dependency of resourcet-
rejecting: transformers-compat- (global constraint requires ==
trying: transformers-compat-
trying: transformers-compat-
trying: transformers-compat-
next goal: transformers (dependency of git-annex-5.20150420)
rejecting: transformers- (conflict:
transformers-compat- => transformers>=0.3 && <0.4)
rejecting: transformers-,,,,,,,,,,,,,,, (global constraint requires installed instance)
Dependency tree exhaustively searched.

On Sat, Apr 25, 2015 at 9:58 PM, Brandon Allbery <allbery.b at> wrote:
> On Sat, Apr 25, 2015 at 10:54 PM, Peng Yu <pengyu.ut at> wrote:
>> I installed ghc and cabal from source. But I still see the following
>> error. Could anyone let me know what is wrong? And how to fix it?
> Looks like you have cabal configured to build profiling versions of things,
> but you built ghc without profiling libraries (LibWays didn't include "p").
> You may be able to just edit ~/.cabal/config and change any profiling
> options in there to False (uncommenting if necessary).
> This also applies to your other question about bootstrapping cabal-install,
> except that someone told you how to disable its attempt to build profiling
> versions (since obviously a cabal config can't be used when you're just
> installing it).
> --
> brandon s allbery kf8nh                               sine nomine associates
> allbery.b at                                  ballbery at
> unix, openafs, kerberos, infrastructure, xmonad


More information about the cabal-devel mailing list