加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

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

发布时间:2020-12-14 05:25:44 所属栏目:Windows 来源:网络整理
导读:我尝试使用“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 existcabal: Error: some packages failed to install:wx-0.90.0.1 depends on wxc-0.90.0
我尝试使用“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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读