Cabal 将不会获得新的 haskell 包

发布于 2024-08-03 07:06:09 字数 427 浏览 14 评论 0原文

我尝试使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

孤君无依 2024-08-10 07:06:09

通过 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

甜味超标? 2024-08-10 07:06:09

我对 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.

梦罢 2024-08-10 07:06:09

是的,我认为这是来自 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文