如何在 Ubuntu 中的 GHC 6.12 上安装 ThreadScope
我尝试在我的计算机上安装treadScope以进行Haskell并行分析,我使用的是Ubuntu 10和GHC 6.12。问题是我不幸地遇到了以下问题。我无法安装glade,命令pkg-config -modversion libglade2.2返回错误,这意味着系统找不到glade的.pc文件。我如何在 ubuntu 上解决这个问题,
非常感谢您的回答
更多详细信息
这里是命令cabal install threadscope返回的错误消息
链接/tmp/glade- 0.12.02992/glade-0.12.0/dist/setup/setup ...
配置glade-0.12.0 ...
setup:pkg-config包libglade-2.0版本> = 2.0.0是必需的,但它 找不到。
cabal:错误:某些软件包安装失败:
glade-0.12.0 在配置步骤中失败。例外情况是:ExitFailure 1
threadscope-0.1.2 依赖于无法安装的glade-0.12.0。
这是命令 _pkg-config --modversion libglade-2.0
在 pkg-config 搜索路径中找不到软件包 libglade-2.0 返回的错误消息。
也许您应该将包含“libglade-2.0.pc”的目录添加到 PKG_CONFIG_PATH 环境变量中
找不到软件包“libglade-2.0”
感谢您的回复
I've try to install treadScope on my computer for Haskell parallel profiling, I'm using Ubuntu 10 and GHC 6.12. The problem it that I unfortunatlly came out with the following problem. I can't install glade, and the command pkg-config -modversion libglade2.2 return an error, which mean that the glade's .pc file is not found by the system. How can I fix this problem on ubuntu,
Thank you a lot for any answer
More details
here is the error message return by the command cabal install threadscope
Linking /tmp/glade-0.12.02992/glade-0.12.0/dist/setup/setup ...
Configuring glade-0.12.0...
setup: The pkg-config package libglade-2.0 version >=2.0.0 is required but it
could not be found.
cabal: Error: some packages failed to install:
glade-0.12.0 failed during the configure step. The exception was: ExitFailure 1
threadscope-0.1.2 depends on glade-0.12.0 which failed to install.
And here is the error message return by the command _pkg-config --modversion libglade-2.0
Package libglade-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libglade-2.0.pc' to the PKG_CONFIG_PATH environment variable
No package 'libglade-2.0' found
Thanks for your reply
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
非常感谢 TomMD,
我已经安装了 libglade2-dev 并且认为一切顺利,
非常感谢您的回复
Lot of thanks to TomMD,
I've install libglade2-dev and thinks goes well
thanks a lot for your reply