
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-1.1.4.1 (dependency of git-annex-5.20150420)
next goal: transformers-compat (dependency of resourcet-1.1.4.1)
rejecting: transformers-compat-0.4.0.4 (global constraint requires ==0.4.0.3)
trying: transformers-compat-0.4.0.3
trying: transformers-compat-0.4.0.3:-two
trying: transformers-compat-0.4.0.3:+three
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
On Sat, Apr 25, 2015 at 10:54 PM, Peng Yu
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@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-- Regards, Peng