在Ubuntu 13.04上安装Haskell平台检测到错误版本的ghc

时间:2013-08-22 19:09:53

标签: ubuntu haskell

我正在尝试在我的ubuntu 13.04上安装haskell

我正在关注这篇文章

https://askubuntu.com/questions/286764/how-to-install-haskell-platform-for-ubuntu-13-04

我先通过

安装了ghc
sudo apt-get install ghc

然后我下载了ghc 7.6.3源代码并成功完成了make和make install

wget http://www.haskell.org/ghc/dist/7.6.3/ghc-7.6.3-src.tar.bz2
tar xjvf ghc-7.6.3-src.tar.bz2
cd ghc-7.6.3
./configure
make
sudo make install

现在我做的时候

wget http://lambda.haskell.org/platform/download/2013.2.0.0/haskell-platform-2013.2.0.0.tar.gz
tar xzvf haskell-platform-2013.2.0.0.tar.gz
cd haskell-platform-2013.2.0.0.tar.gz
./configure

我收到错误

checking for hsc2hs... /usr/bin/hsc2hs
checking version of ghc... ****7.6.2****
configure: error: The Haskell Platform version 2013.2.0.0 requires ghc-7.6.3
  It is recommended that you upgrade to ghc-7.6.3 however if you
  really want to use this release with an unsupported version of GHC
  then use ./configure --enable-unsupported-ghc-version
  abhishek@sp2013vm16:~/haskell-platform-2013.2.0.0$ 

为什么说我的ghc是7.6.2?我已经为ghc 7.6.3

完成了sudo make install

0 个答案:

没有答案