wx 0.90.0.1无法在Haskell Platform 2012.2.0.0(WinXP)上安装

前端之家收集整理的这篇文章主要介绍了wx 0.90.0.1无法在Haskell Platform 2012.2.0.0(WinXP)上安装前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我尝试使用“cabal install wx”在 Haskell Platform 2012.2.0.0上安装WX 0.90.0.1,但得到了以下结果:

Configuring wxc-0.90.0.4...
setup.exe: wx-config: does not exist
cabal: Error: some packages 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.

有人可以帮忙吗?

解决方法

我遇到了与wxc-0.90.0.4相同的问题,但在构建过程中失败了,发现错误已在 Github repository中针对wxHaskell进行了更正.

可以通过解压缩wxc来修复错误,如Satvik所示:cabal unpack wxc

然后根据上面的Github存储库修改几行代码,然后在wxc目录中修改:cabal install

之后你应该能够做到:cabal install vx

作为替代方法,使用针对wxWidgets 2.8构建的版本:cabal install wx-0.13.2.3

猜你在找的Windows相关文章