I am trying to install cairo on Windows XP, and this is the command I am trying:
cabal install cairo --extra-include-dirs="C:\cygwin\usr\include" --extra-lib-dirs="C:\cygwin\lib" --extra-include-dirs="C:\cygwin\usr\include\cairo"
And the whole conclusion that I get can be seen on this pasty , but the real mistake is this:
Registering cairo-0.12.0 ...
setup.exe: cairo-0.12.0: include-dirs: / usr / include / cairo does not exist or is
not a directory (use --force to override)
cairo-0.12.0: include -dirs: / usr / include / pixman-1 does not exist or the directory is not (use --force to override)
cairo-0.12.0: include-dirs: / usr / include / freetype2 does not exist or the directory is not (use - -force to override)
cairo-0.12.0: include-dirs: / usr / include / libpng12 does not exist or the directory is not (use --force to override)
cabal: Error: some packages could not be installed:
cairo-0.12.0 failed at the construction stage. The exception was:
ExitFailure 1
, , , . - , ? .