Hi,
** cairo **
doesn't build with ghc 7.4 because the function toBool :: (Num a) => a ->
Bool now also requires (Eq a).
So you have to include the constraint into cToBool in
Graphics.Rendering.Cairo.Types.chs.
After that, the package builds fine.
** glib **
fails with an error that is more difficult to fix:
you have to change System/Glib/hsgclosure.c:
/* perform the call */
#if __GLASGOW_HASKELL__ >= 704
rts_evalIO(&cap, rts_apply(CAP (HaskellObj)runIO_closure, call),&ret);
#else
cap=rts_evalIO(CAP rts_apply(CAP (HaskellObj)runIO_closure, call),&ret);
#endif
After that, it builds fine.
Other packages (gio, pango, gtk) build fine without modifications.
--
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru/
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Gtk2hs-devel mailing list
Gtk2hs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel