How to compile git-annex?
pengyu.ut at gmail.com
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
cabal: Could not resolve dependencies:
trying: git-annex-5.20150420 (user goal)
trying: resourcet-22.214.171.124 (dependency of git-annex-5.20150420)
next goal: transformers-compat (dependency of resourcet-126.96.36.199)
rejecting: transformers-compat-0.4.0.4 (global constraint requires ==0.4.0.3)
next goal: transformers (dependency of git-annex-5.20150420)
rejecting: transformers-0.4.2.0/installed-c1a... (conflict:
transformers-compat-0.4.0.3:three => transformers>=0.3 && <0.4)
rejecting: transformers-0.4.3.0, 0.4.2.0, 0.4.1.0, 0.3.0.0, 0.2.2.1, 0.2.2.0,
0.2.1.0, 0.2.0.0, 0.1.4.0, 0.1.3.0, 0.1.1.0, 0.1.0.1, 0.1.0.0, 0.0.1.0,
0.0.0.0, 0.4.0.0 (global constraint requires installed instance)
Dependency tree exhaustively searched.
On Sat, Apr 25, 2015 at 9:58 PM, Brandon Allbery <allbery.b at gmail.com> wrote:
> On Sat, Apr 25, 2015 at 10:54 PM, Peng Yu <pengyu.ut at gmail.com> 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 gmail.com ballbery at sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
More information about the cabal-devel