我从这里下载了
Haskell平台源:
http://www.haskell.org/platform/linux.html,安装了ghc,并做了/.configure.但是,当我做sudo make时,我收到以下错误:
- Preprocessing library HUnit-1.2.4.2...
- Test/HUnit/Base.hs:1:1:
- Could not find module `Prelude'
- Perhaps you haven't installed the profiling libraries for package `base'?
- Use -v to see a list of the files searched for.
- Error:
- Building the HUnit-1.2.4.2 package Failed
- make: *** [build.stamp] Error 2
有谁知道如何解决这个问题?
我正在尝试在Ubuntu 12.04.1 LTS上安装
而不是尝试从源代码安装,只需安装Ubuntu软件包,这将更简单,具有:
- $sudo apt-get install haskell-platform
如果您需要本地版本的文档和分析库,请安装其他软件包:
- $sudo apt-get install haskell-platform-doc haskell-platform-prof