GHC:双重转换-0.2.0.1 未知符号

发布于 2024-12-02 14:21:44 字数 661 浏览 3 评论 0原文

我正在尝试使用最新版本的 EclipseFP。启动后,scion-browser 设置会初始化,一切顺利,直到尝试安装 scion-browser-0.1。我在 Eclipse 控制台中收到以下错误:

...
Loading package double-conversion-0.2.0.1 ... linking ... ghc: /home/dpm/.cabal/lib/double-conversion-0.2.0.1/ghc-7.0.3/HSdouble-conversion-0.2.0.1.o: unknown symbol `_ZNK17double_conversion6Double5valueEv'
ghc: unable to load package `double-conversion-0.2.0.1'
cabal: Error: some packages failed to install:
scion-browser-0.1 failed during the building phase. The exception was:
ExitFailure 1

显然,ghc-pkg 似乎认为此包一切正常(ghc-pkg 检查不打印任何内容)。通过阴谋集团重新安装双转换也没有任何改变。有人知道发生了什么事吗?我使用的是 Haskell 平台的 Ubuntu 9.10 Linux、GHC 7.0.3。

I'm trying to use the latest release of EclipseFP. Upon start, the scion-browser setup initializes, with everything going well until trying to install scion-browser-0.1. I get the following error in my Eclipse console:

...
Loading package double-conversion-0.2.0.1 ... linking ... ghc: /home/dpm/.cabal/lib/double-conversion-0.2.0.1/ghc-7.0.3/HSdouble-conversion-0.2.0.1.o: unknown symbol `_ZNK17double_conversion6Double5valueEv'
ghc: unable to load package `double-conversion-0.2.0.1'
cabal: Error: some packages failed to install:
scion-browser-0.1 failed during the building phase. The exception was:
ExitFailure 1

Apparently, ghc-pkg seems to think everything is OK with this package (ghc-pkg check prints nothing). Reinstalling double-conversion through cabal also changes nothing. Anybody any idea what's going on? I'm on Ubuntu 9.10 Linux, GHC 7.0.3 from the Haskell-Platform.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

甜味拾荒者 2024-12-09 14:21:44

此处所示:
关闭 Eclipse 并在终端中运行此命令:

cabal install blaze-textual --user -fnative --reinstall
cabal install aeson --user --reinstall

然后重新启动 Eclipse。

As indicated here :
close your eclipse and run this in your terminal:

cabal install blaze-textual --user -fnative --reinstall
cabal install aeson --user --reinstall

then, restart your eclipse.

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