1

我正在尝试在我的 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

4

0 回答 0