Hello gentlemen,

Let me dare resurrect this thread and ask again for your opinion.

On Tue, Jan 17, 2012 at 3:47 PM, Eugene Kirpichov <ekirpic...@gmail.com>wrote:

> 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/
>



-- 
Eugene Kirpichov
Principal Engineer, Mirantis Inc. http://www.mirantis.com/
Editor, http://fprog.ru/
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
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-dev2
_______________________________________________
Gtk2hs-devel mailing list
Gtk2hs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel

Reply via email to