嗨我想安裝,(無需更新或安裝最新的編譯器),reactive-banana-wx和其中一個要求是失敗安裝反應香蕉wx或wx基於linux的ghc 7.0.4
cabal install reactive-banana-wx
和繼承人的錯誤
Configuring wxc-0.90.0.4...
setup: failed
cabal: Error: some packages failed to install:
reactive-banana-wx-0.6.0.1 depends on wxc-0.90.0.4 which failed to install.
wx-0.90.0.1 depends on wxc-0.90.0.4 which failed to install.
wxc-0.90.0.4 failed during the configure step. The exception was:
ExitFailure 1
wxcore-0.90.0.3 depends on wxc-0.90.0.4 which failed to install
當我嘗試安裝CABAL wxcore,WX或WXC他們都說失敗,被要求向WXC點。
這裏的錯誤
cabal install wxc
Resolving dependencies...
[1 of 1] Compiling Main (/tmp/wxc-0.90.0.419410/wxc-0.90.0.4/Setup.hs, /tmp/wxc-0.90.0.419410/wxc-0.90.0.4/dist/setup/Main.o)
Linking /tmp/wxc-0.90.0.419410/wxc-0.90.0.4/dist/setup/setup ...
Configuring wxc-0.90.0.4...
setup: failed
cabal: Error: some packages failed to install:
wxc-0.90.0.4 failed during the configure step. The exception was:
ExitFailure 1
,這裏是我的編譯器的信息,如果這將是
ghc -v
Glasgow Haskell Compiler, Version 7.0.4, for Haskell 98, stage 2 booted by GHC version 7.0.4
當您遇到'ExitFailure 1'時,輸出中通常會有一些其他錯誤消息。如果有,你可以在這裏發佈嗎?你也可以把所有的輸出放在[hpaste](http://hpaste.org/)上。 – 2012-07-29 04:55:45
http://hpaste.org/72291,總結我試圖cabal安裝wxc -v來產生更多的錯誤信息。它說有很多軟件包丟失了,我試圖安裝一個名爲lhc的軟件,並且它的失敗類似。 – pyCthon 2012-07-29 05:51:50
你不需要'lhc',它是另一個Haskell編譯器。我懷疑你沒有安裝WxWindows的開發庫,儘管Cabal的輸出沒有說明。 – 2012-07-29 06:55:42