I'm running Fedora 10, and installed wxGTK with "yum", (version 2.8.9), and have successfully compiled wxhaskell-0.11.0 (using --with-opengl --with-contrib --with-mediactrl --wx-toolkit=gtk2), but whenever I run any of the sample programs, no windows pop up, and the same error occurs:
(process:16395): GLib-GObject-CRITICAL **: gtype.c:2458: initialization assertion failed, use IA__g_type_init() prior to this function
(process:16395): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
(process:16395): Gdk-CRITICAL **: gdk_cursor_new_for_display: assertion `GDK_IS_DISPLAY (display)' failed
I tried running a sample program written in C++ and it ran fine, so I'm thinking that it is a problem with something in wxhaskell. I noticed that Jose Ramirez in 2008-08-12 came across the same problem (http://sourceforge.net/mailarchive/message.php?msg_name=89c11d70808120559j63465383r1c61f4c11a46d47c%40mail.gmail.com). Did anyone figure out what the problem was?