本文介绍了无法在Windows上安装cairo with cabal - 如何在win上获得pkg-config?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Configuring cairo-0.12.0...
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.0 failed during the configure step. The exception was:
ExitFailure 1

所以我怎样才能在Windows上获得pkg-config或如何安装cairo然后?

so how can I get pkg-config on windows or how to install cairo then ?

推荐答案

您是否安装了cairo开发文件?回想一下,这与开发DLL不一样!查看下载页面的Windows部分。此外,您可以运行 cabal install -v 以获取更详细的错误信息(如果仍然卡住,应该发布)。

Do you have the cairo development files installed? Recall this isn't the same as having a cairo dll! See the Windows section of their download page for binaries. Also, you can run cabal install -v for more verbosity in the error (which you should post if you're still stuck).

这篇关于无法在Windows上安装cairo with cabal - 如何在win上获得pkg-config?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-31 22:49