我对Haskell相对较新,从未安装过包,我无法弄清楚如何解决这个问题。 所以这就是我做的: - 我安装了Haskell平台 - 我试图运行“cabal install vacuum-cairo”
这就是我得到的(最后几行似乎很重要):
setup.exe: The program pkg-config version >=0.9.0 is required but it could not
be found.
cabal: Error: some packages failed to install:
cairo-0.12.4 failed during the configure step. The exception was:
ExitFailure 1
gio-0.12.4 depends on glib-0.12.4 which failed to install.
glib-0.12.4 failed during the configure step. The exception was:
ExitFailure 1
gtk-0.12.4 depends on glib-0.12.4 which failed to install.
pango-0.12.4 depends on glib-0.12.4 which failed to install.
svgcairo-0.12.1.1 depends on glib-0.12.4 which failed to install.
vacuum-cairo-0.5 depends on glib-0.12.4 which failed to install.
我还尝试了一些我在互联网上阅读的东西,但没有任何效果,我真的没有找到那么多。 有人可以帮我解决这个问题吗?我真的想用这个包来更好地了解我在Haskell中所做的事情:)