z0w0 / helm

A functionally reactive game engine, with headgear to protect you from the headache of game development provided.
http://helm-engine.org/
MIT License
599 stars 69 forks source link

Hackage definition limits Cairo to v0.12, which breaks. #67

Closed blinks closed 9 years ago

blinks commented 10 years ago

The Installing doc notes Cairo 1.x.x as a dependency, but Hackage says you're limited to <.13, which won't install for me (on OS X 10.9.4):

Preprocessing library glib-0.12.5.4...
gtk2hsC2hs: Error in C header file.

/usr/include/dirent.h:147: (column 10) [FATAL]
  >>> Syntax error!
  The symbol `^' does not fit here.

Should Hackage be updated, or the installation doc? If the latter, is this a known problem?

z0w0 commented 10 years ago

The Cairo dependency listed on the install page is the actual Cairo library, which has a version larger than 1. The <0.13 requirement in the cabal file is referring to the Gtk2Hs Cairo bindings.