Can't install cairo with cabal on Windows - how to get pkg-config on win?
Asked Answered
P

2

6
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

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

Pasteurize answered 17/3, 2011 at 8:57 Comment(0)
L
3

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).

Liquidator answered 17/3, 2011 at 16:12 Comment(1)
I'll try to make so, I though it was pkg-config trouble.Pasteurize
V
1

you need to add "C:\Program Files\Gtk+\bin" enclosed in double quotes to PATH system variable so that pkg-config becomes visible to windows, you have to have the gtk+ installed first of course ...

Very answered 20/4, 2012 at 11:53 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.