From: Adam W. <awi...@ma...> - 2008-12-28 11:24:10
|
Hi, guys. I'm currently working to convert all of Mandriva to wxgtk 2.8 rather than 2.6. wxhaskell is just about the last wxgtk 2.6 piece. :) I read via the wiki that 0.11.0 seems not only to claim to support 2.8, but to more or less require it: "wxHaskell 0.11.x supports wxWidgets 2.8. And wxHaskell doesn't support wxWidgets 2.6 any more." However, when I build 0.11.0 against wxgtk 2.8, then try to run any of the example programs in the source tree as described on the building wiki page, I get the exact symptoms described here: https://sourceforge.net/tracker/?func=detail&atid=536845&aid=1924535&group_id=73133 i.e. three console messages and then nothing - no output. I've tested with both unicode and non-unicode wx 2.8 - doesn't make any difference. Both fail. Is this known? If so, can the Wiki page be clarified...and can this be, well, fixed? :) Thanks! -- adamw |
From: Mads L. <mad...@ya...> - 2008-12-28 13:25:10
|
Hi Adam Williamson: > Hi, guys. I'm currently working to convert all of Mandriva to wxgtk 2.8 > rather than 2.6. wxhaskell is just about the last wxgtk 2.6 piece. :) > > I read via the wiki that 0.11.0 seems not only to claim to support 2.8, > but to more or less require it: > > "wxHaskell 0.11.x supports wxWidgets 2.8. And wxHaskell doesn't support > wxWidgets 2.6 any more." > > However, when I build 0.11.0 against wxgtk 2.8, then try to run any of > the example programs in the source tree as described on the building > wiki page, I get the exact symptoms described here: > > https://sourceforge.net/tracker/?func=detail&atid=536845&aid=1924535&group_id=73133 > > i.e. three console messages and then nothing - no output. > > I've tested with both unicode and non-unicode wx 2.8 - doesn't make any > difference. Both fail. > > Is this known? If so, can the Wiki page be clarified...and can this be, > well, fixed? :) Thanks! Wxgtk 2.8 works for me. I am running Debian stable with wxgtk back-port from http://apt.wxwidgets.org/ . Maybe this has to do with the configuration of wxWidgets. Did you compile with the opengl flag? How did you compile wxwidgets? And how did you compile wxhaskell? Greetings, Mads |
From: Adam W. <awi...@ma...> - 2008-12-28 18:26:02
|
On Sun, 2008-12-28 at 14:01 +0100, Mads Lindstrøm wrote: > Wxgtk 2.8 works for me. I am running Debian stable with wxgtk back-port > from http://apt.wxwidgets.org/ . Well, good to know it works in some case at least. > Maybe this has to do with the configuration of wxWidgets. Did you > compile with the opengl flag? http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/wxgtk2.8/current/SPECS/wxgtk2.8.spec?view=markup %configure2_5x --enable-unicode \ --without-odbc \ --with-opengl \ --enable-gtk2 --with-gtk \ --without-debug_flag \ --without-debug_info \ --with-sdl \ --with-libpng=sys \ --with-libjpeg=sys \ --with-libtiff=sys \ --with-zlib=sys \ --enable-optimise \ --enable-calendar \ --enable-wave \ --enable-fraction \ --enable-wxprintfv \ --enable-xresources \ --enable-controls \ --enable-tabdialog \ --enable-msgdlg \ --enable-dirdlg \ --enable-numberdlg \ --enable-splash \ --enable-textdlg > And how did you compile wxhaskell? http://www.pastie.org/347868 http://www.pastie.org/347869 -- adamw |
From: Mads L. <mad...@ya...> - 2009-02-13 18:44:11
|
Hi Shelarcy's latest patch solves the problem. At least it did for me and Chris Casinghino (according to a wxhaskell post). If you upgrade to the latest version from the Darcs repo, then please report your results. /Mads Adam Williamson wrote: > Hi, guys. I'm currently working to convert all of Mandriva to wxgtk 2.8 > rather than 2.6. wxhaskell is just about the last wxgtk 2.6 piece. :) > > I read via the wiki that 0.11.0 seems not only to claim to support 2.8, > but to more or less require it: > > "wxHaskell 0.11.x supports wxWidgets 2.8. And wxHaskell doesn't support > wxWidgets 2.6 any more." > > However, when I build 0.11.0 against wxgtk 2.8, then try to run any of > the example programs in the source tree as described on the building > wiki page, I get the exact symptoms described here: > > https://sourceforge.net/tracker/?func=detail&atid=536845&aid=1924535&group_id=73133 > > i.e. three console messages and then nothing - no output. > > I've tested with both unicode and non-unicode wx 2.8 - doesn't make any > difference. Both fail. > > Is this known? If so, can the Wiki page be clarified...and can this be, > well, fixed? :) Thanks! |
From: Adam W. <awi...@ma...> - 2009-02-13 18:25:35
|
On Fri, 2009-02-13 at 19:10 +0100, Mads Lindstrøm wrote: > Hi > > Shelarcy's latest patch solves the problem. At least it did for me and > Chris Casinghino (according to a wxhaskell post). > > If you upgrade to the latest version from the Darcs repo, then please > report your results. Well, since that mail, I actually left Mandriva and now work for Red Hat (but I can still be @mandriva.com...thank you, disorganized business processes!) I still have full commit rights and stuff to Mandriva, and RH don't really mind me working on Mandriva stuff in my spare time as long as I'm not using any Super Sekrit Information, but I just don't have much actual time to do it. So, I will probably try and get to doing this in MDV at some point, but it may not be immediately. Thanks for the heads-up, though. -- adamw |
From: Adam W. <awi...@ma...> - 2009-02-15 17:07:39
|
On Fri, 2009-02-13 at 19:10 +0100, Mads Lindstrøm wrote: > Hi > > Shelarcy's latest patch solves the problem. At least it did for me and > Chris Casinghino (according to a wxhaskell post). > > If you upgrade to the latest version from the Darcs repo, then please > report your results. Thanks for this tip. Indeed, current Darcs wxhaskell works fine with wxgtku 2.8 on MDV Cooker. At least, I tried several of the examples and they worked flawlessly. I have now pushed this build and killed wxgtk 2.6 in MDV. Yay. :) -- adamw |