Cabal 将不会获得新的 haskell 包
我尝试使用 cabal 获取 wxHaskell 包 使用:
cabal install wxcore --global
cabal install wx
但是运行此命令会出现以下错误:
>cabal install wxcore --global
Resolving dependencies...
cabal: Error: some packages failed to install:
wxcore-0.11.1.2 failed during the configure step. The exception was:
sh: runGenProcess: does not exist (No such file or directory)
我做错了什么?我需要先安装哪些软件包吗?
I tried to get the wxHaskell package using cabal
using:
cabal install wxcore --global
cabal install wx
But running this gave the following error:
>cabal install wxcore --global
Resolving dependencies...
cabal: Error: some packages failed to install:
wxcore-0.11.1.2 failed during the configure step. The exception was:
sh: runGenProcess: does not exist (No such file or directory)
What did I do wrong? Is there packages I need to install first?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
通过 cabal 安装 wx 是很棘手的。如果您使用的是 Windows,我建议从 http://haskell.org/haskellwiki/WxHaskell 下载其二进制包/下载
Getting wx to install through cabal is tricky. If you're using Windows I suggest downloading their binary package from http://haskell.org/haskellwiki/WxHaskell/Download
我对 Wx 不熟悉,但我希望您需要先安装底层 C 库,然后再安装依赖于它的 Haskell 包。
I'm not familiar with Wx, but I would expect that you need to install the underlying C library before installing the Haskell packages that depend on it.
是的,我认为这是来自 wx 包(及其自定义配置脚本)的(糟糕的)警告,即 wxWidgets 库不在您的系统上。
Yes, I think that is a (poor) warning from the wx package (and its custom configure script) that the wxWidgets library isn't on your system.