我对 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 中所做的事情:)