Haskell GHC未能安装

Haskell GHC未能安装,haskell,ghc,Haskell,Ghc,我有64位的Ubuntu 14.04。我试图安装从haskell.org下载的64位GHC 7.8.2二进制文件(debian版本)。我在makeinstall上收到以下错误消息: Warning: cannot determine version of /home/kutta/home/software/ghc-7.8.2inst/lib/ghc-7.8.2/bin/ghc : "" Warning: cannot determine version of /home/kutta/home/s

我有64位的Ubuntu 14.04。我试图安装从haskell.org下载的64位GHC 7.8.2二进制文件(debian版本)。我在
makeinstall
上收到以下错误消息:

Warning: cannot determine version of
/home/kutta/home/software/ghc-7.8.2inst/lib/ghc-7.8.2/bin/ghc :
""
Warning: cannot determine version of
/home/kutta/home/software/ghc-7.8.2inst/lib/ghc-7.8.2/bin/ghc-pkg :
""
ghc-cabal: ghcInvocation: the programVersion must not be Nothing
make[1]: *** [install_packages] Error 1
make: *** [install] Error 2

请注意,我将安装目录设置为自定义目录,但当我将其保留为默认目录时,会出现相同的错误。有什么补救办法吗

错误/丢失的库?ldd/home/kutta/home/software/ghc-7.8.2inst/lib/ghc-7.8.2/bin/ghc说了什么?另请参见,它表示“不是动态可执行文件”。安装似乎没有使它们保持有效状态。那么
文件/home/kutta/home/software/ghc-7.8.2inst/lib/ghc-7.8.2/bin/ghc
呢?