首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装haskell platform失败

安装haskell platform失败
EN

Stack Overflow用户
提问于 2011-07-14 15:32:40
回答 1查看 259关注 0票数 1

我正在尝试将haskell-platform-2011.2.0.1安装到我的suse 11.4上。我已经获得了./configure with works ok所需的所有依赖项。但是在使用"make“时,它会生成以下错误

代码语言:javascript
复制
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‘模块?

EN

回答 1

Stack Overflow用户

发布于 2018-02-07 13:29:43

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

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/6689867

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档