安装haskell平台失败

时间:2011-07-14 07:32:40

标签: haskell-platform

我正在尝试将haskell-platform-2011.2.0.1安装到我的suse 11.4上。我已经获得了./configure所需的所有依赖项,并且工作正常。但是在进入“make”时,它会构建此错误

scripts/build.sh
**************************************************
Scanning system for any installed Haskell Platform components...

Found:None.

New packages to install: None! All done.

**************************************************
Building transformers-0.2.2.0
"/usr/bin/ghc" "--make" "Setup" "-o" "Setup" "-package" "Cabal"
Linking Setup ...
"./Setup" "configure" "--package-db=../../packages/package.conf.inplace" "--prefix=/usr/local" "--with-compiler=/usr/bin/ghc" "--with-hc-pkg=/usr/bin/ghc-pkg" "--with-hsc2hs=/usr/bin/hsc2hs" "--enable-library-profiling" "--ghc-pkg-option=--package-conf=../../packages/package.conf.inplace"
Configuring transformers-0.2.2.0...
"./Setup" "build"
Preprocessing library transformers-0.2.2.0...
Building transformers-0.2.2.0...

Control/Monad/IO/Class.hs:19:7:
    Could not find module `System.IO':
      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 transformers-0.2.2.0 package failed
make: *** [build.stamp] Error 2

我已经搜索过了,但似乎没有人能找到合适的解决方案。如何安装缺少的'System.IO'模块?

1 个答案:

答案 0 :(得分:0)

对于记录,问题可能是用于构建的ghc包没有包含分析库。