开发者

Installing Haskell cairo on Windows

开发者 https://www.devze.com 2023-02-10 13:01 出处:网络
I am trying to install cairo on Windows XP and this is the command that I am trying: cabal install cairo --extra-include-dirs=\"C:\\cygwin\\usr\\include\" --extra-lib-dirs=\"C:\\cygwin\\lib\" --extra

I am trying to install cairo on Windows XP and this is the command that 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 full output that I get can be seen at this pastie but the real error is this:

Registering cairo-0.12.0...

setup.exe: cairo-0.12.0: include-dirs: /usr/include/cairo doesn't exist or

isn't a directory (use --force to override)

cairo-0.12.0: include-dirs: /usr/include/pixman-1 doesn't exist or isn't a

directory (use --force to override)

cairo-0.12.0: include-dirs: /usr/include/freetype2 doesn't exist or isn't a

directory (use --force to override)

cairo-0.12.0: include-开发者_如何学JAVAdirs: /usr/include/libpng12 doesn't exist or isn't a

directory (use --force to override)

cabal: Error: some packages failed to install:

cairo-0.12.0 failed during the building phase. The exception was:

ExitFailure 1

I know that those directories do not exist but I cannot figure out for the life of me how to get it to look at the right directories. Does anybody know how I can get this install to work? Thanks for any and all help.


The default distribution of GHC targets native (well, mingw) executables. These cannot be mixed with Cygwin libraries.

You'll have to use a native (non-Cygwin) installation of Cairo.

0

精彩评论

暂无评论...
验证码 换一张
取 消