2011-07-14 9 views
1

私のsuse 11.4にhaskell-platform-2011.2.0.1をインストールしようとしています。 ./configureに必要なすべての依存関係を持っています。しかし、「作る」ことを得る上で、それがこのエラーでビルドをhaskellプラットフォームのインストールに失敗する

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 

私の周りGoogleで検索してきたではなく、一つは適切なソリューションを持っているようです。不足している 'System.IO'モジュールのインストール方法は?

答えて

0

問題の原因は、ビルドに使用されたghcパッケージにプロファイリングライブラリが含まれていなかったことです。

関連する問題