2012-04-06 8 views
1

私はUbuntu 11.10(7.0.3)で配布されているGHCの最新バージョンを使用しています。Haskellのためのグレイドライブラリのインストールでエラーが発生しました

私は空き地をインストールしようとすると、私はこれを取得:

$ cabal install glade 
Resolving dependencies... 
Downloading glade-0.12.1... 
[1 of 2] Compiling SetupWrapper  (/tmp/glade-0.12.129125/glade-0.12.1/SetupWrapper.hs, /tmp/glade-0.12.129125/glade-0.12.1/dist/setup/SetupWrapper.o) 
[2 of 2] Compiling Main    (/tmp/glade-0.12.129125/glade-0.12.1/Setup.hs, /tmp/glade-0.12.129125/glade-0.12.1/dist/setup/Main.o) 
Linking /tmp/glade-0.12.129125/glade-0.12.1/dist/setup/setup ... 
[1 of 2] Compiling Gtk2HsSetup  (Gtk2HsSetup.hs, dist/setup-wrapper/Gtk2HsSetup.o) 
[2 of 2] Compiling Main    (SetupMain.hs, dist/setup-wrapper/Main.o) 
Linking dist/setup-wrapper/setup ... 
Configuring glade-0.12.1... 
Preprocessing library glade-0.12.1... 
gtk2hsC2hs: UName: root name supply used after saving 
cabal: Error: some packages failed to install: 
glade-0.12.1 failed during the building phase. The exception was: 
ExitFailure 1 

gtk2hs-ビルドツールとGTKが正常に徒党を介してインストールされました。しかし、グレイドはインストールされません。これはバグですか?

+0

gtk2hs-buildtoolsのどのバージョンをインストールしましたか? – ivanm

+0

ivanm - 私はgtk2hs-buildtoolsバージョン0.12.3を持っています – donatello

答えて

2

私は、エラーの原因となったもの見当がつかない

$ cabal unpack glade 
... 
$ cd glade-0.12.1 
$ runhaskell Setup.hs configure --user 
... 
$ runhaskell Setup.hs build 
... 
$ runhaskell Setup.hs build # Note: twice - first build has failed. 
... 
$ runhaskell Setup.hs install 
... 

残念経由で最新gladeパッケージをインストールするために管理してきました。

+0

ありがとう、これは私のために働いたが、それは非常に奇妙なバグです。 – donatello

関連する問題