首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >用Darcs安装gtk2hs

用Darcs安装gtk2hs
EN

Stack Overflow用户
提问于 2013-10-29 08:49:53
回答 1查看 776关注 0票数 4

我有一些没有gtk2hs就无法运行的现有代码。但我没能把它安装好。我以前试过阴谋集团,但发现现在正确的解决办法是从黑暗建造。所以我想:

代码语言:javascript
复制
darcs get --lazy http://code.haskell.org/gtk2hs
cd gtk2hs
export PATH=$HOME/Library/Haskell/bin:$PATH
sh bootstrap.sh

得到这个:

代码语言:javascript
复制
Resolving dependencies...
Configuring gio-0.12.4.1...
setup: The pkg-config package gio-2.0 version >=2.16.4 is required but it
could not be found.
Resolving dependencies...
Configuring cairo-0.12.4.1...
setup: The pkg-config package cairo version >=1.2.0 is required but it could
not be found.
Resolving dependencies...
Configuring pango-0.12.4.1...
setup: At least the following dependencies are missing:
cairo >=0.12.0 && <0.13
Package has never been configured. Configuring with default flags. If this
fails, please run configure manually.
Resolving dependencies...
Configuring gtk-0.12.4.1...
setup: At least the following dependencies are missing:
cairo >=0.12.0 && <0.13, pango >=0.12.0 && <0.13
setup: Run the 'configure' command first.
setup: Run the 'configure' command first.
setup: Run the 'configure' command first.
Package has never been configured. Configuring with default flags. If this
fails, please run configure manually.
Resolving dependencies...
Configuring gtk3-0.12.4.1...
setup: At least the following dependencies are missing:
cairo >=0.12.0 && <0.13, pango >=0.12.0 && <0.13
setup: Run the 'configure' command first.
setup: Run the 'configure' command first.
setup: Run the 'configure' command first.

我在osx上有最新版本的阴谋和黑暗势力。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-10-29 14:34:54

在安装Haskell绑定之前,必须安装gtk C库。访问安装说明,如果您需要有关如何执行此操作的说明,请检查您的操作系统的部分。

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/19653519

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档