1
我使用的是与Ubuntu 11.10(7.0.3)一起发布的GHC的最新版本。通过cabal安装Haskell的glade库时出错
当我尝试安装的林间空地,我得到这个:
$ 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通过阴谋集团已成功安装。但林间空地不会安装。这是一个错误?
您安装了哪个版本的gtk2hs-buildtools? – ivanm 2012-04-07 00:19:06
ivanm - 我有版本gtk2hs-buildtools版本0.12.3 – donatello 2012-04-07 08:07:31