On Sat, Apr 25, 2015 at 10:54 PM, Peng Yu <pengyu.ut@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@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net