On Sun, Sep 2, 2012 at 10:49 PM, Manish Trivedi <trivmanish@gmail.com> wrote:
I am attaching the config.log in the email.

You didn't install ghc properly, or you did and you then added its internal directory to your $PATH. The executables in /usr/local/lib/ghc-7.4.1 should not be run directly, as they require setup which is done by wrapper scripts that should be installed in /usr/local/bin if you installed it correctly.

configure:2198: checking ghc actually works
configure:2207: /usr/local/lib/ghc-7.4.1/ghc -o conftest conftest.hs
ghc: missing -B<dir> option

--
brandon s allbery                                      allbery.b@gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms