GHC installation configure error
I was trying to install Haskell from this link https://gist.github.com/1524859 Got this issue in it. After this step $ cd ghc-7.0.4
:~/ghc-7.0.4$ ./configure checking for path to top of build tree... ./configure: line 1792: utils/ghc-pwd/dist/build/tmp/ghc-pwd: cannot execute binary file configure: error: cannot determine current directory
I have ubuntu 12.04.
Kindly help what to do