Re: [wxhaskell-users] wxHaskell for linux (ubuntu)?

2007-12-31 Thread Conal Elliott
Hm.  The static initializers are problematic on Windows as well, which is
why I stayed with wxWindows-2.4.2.  Perhaps the same solution works on
Linux?

Does *anyone* have wxHaskell and ghci working together on Linux, without
having to restart ghci after each GUI?

  - Conal

On Dec 30, 2007 4:35 PM, Mads Lindstrøm [EMAIL PROTECTED] wrote:

 Hi Conal

  I'm setting up a linux dev machine (ubuntu 7.10).  What do folks
  recommend for wxWidgets and wxHaskell?  I like using wxHaskell in
  ghci, in case that's a consideration on Linux as it is on Windows.

 I am afraid you will have to forget about wxhaskell, linux, and GHCi
 working together. When you have started a Wxhaskell app in GHCi once,
 you will have to restart GHCi before starting another Wxhaskell app. It
 is late and might remember wrongly, but I do believe it has something to
 do with GHCi not reinitializing C-libraries.

 I am running Debian, which is closely related to Ubuntu, and I am using
 the WxWidgets based on gtk2.6.3-0.10. But any Gtk2.6 will properly do.

 As far as I remember, you must also enable (not disable) opengl when
 compiling wxwidgets. Also this page
 http://wxhaskell.sourceforge.net/building.html says the same.


 Greetings,

 Mads

   Thanks,  - Conal
 
 -
  This SF.net email is sponsored by: Microsoft
  Defy all challenges. Microsoft(R) Visual Studio 2005.
  http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
  ___ wxhaskell-users mailing
 list wxhaskell-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


[wxhaskell-users] wxHaskell for linux (ubuntu)?

2007-12-30 Thread Conal Elliott
I'm setting up a linux dev machine (ubuntu 7.10).  What do folks recommend
for wxWidgets and wxHaskell?  I like using wxHaskell in ghci, in case that's
a consideration on Linux as it is on Windows.  Thanks,  - Conal
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] wxHaskell for linux (ubuntu)?

2007-12-30 Thread Mads Lindstrøm
Hi Conal

 I'm setting up a linux dev machine (ubuntu 7.10).  What do folks
 recommend for wxWidgets and wxHaskell?  I like using wxHaskell in
 ghci, in case that's a consideration on Linux as it is on Windows. 

I am afraid you will have to forget about wxhaskell, linux, and GHCi
working together. When you have started a Wxhaskell app in GHCi once,
you will have to restart GHCi before starting another Wxhaskell app. It
is late and might remember wrongly, but I do believe it has something to
do with GHCi not reinitializing C-libraries.

I am running Debian, which is closely related to Ubuntu, and I am using
the WxWidgets based on gtk2.6.3-0.10. But any Gtk2.6 will properly do.

As far as I remember, you must also enable (not disable) opengl when
compiling wxwidgets. Also this page
http://wxhaskell.sourceforge.net/building.html says the same.


Greetings,

Mads

  Thanks,  - Conal 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___ wxhaskell-users mailing list 
 wxhaskell-users@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


Re: [wxhaskell-users] wxHaskell for linux (ubuntu)?

2007-12-30 Thread Mads Lindstrøm
Hi again

 Hi Conal
 
  I'm setting up a linux dev machine (ubuntu 7.10).  What do folks
  recommend for wxWidgets and wxHaskell?  I like using wxHaskell in
  ghci, in case that's a consideration on Linux as it is on Windows. 
 
 I am afraid you will have to forget about wxhaskell, linux, and GHCi
 working together. When you have started a Wxhaskell app in GHCi once,
 you will have to restart GHCi before starting another Wxhaskell app. It
 is late and might remember wrongly, but I do believe it has something to
 do with GHCi not reinitializing C-libraries.
 
 I am running Debian, which is closely related to Ubuntu, and I am using
 the WxWidgets based on gtk2.6.3-0.10. But any Gtk2.6 will properly do.

I was a little fast there. I am using WxWidgets 2.6.something. However,
it is _not_ based on GTK 2.6. But on some newer version of GTK.


Greetings,

Mads

 
 As far as I remember, you must also enable (not disable) opengl when
 compiling wxwidgets. Also this page
 http://wxhaskell.sourceforge.net/building.html says the same.
 
 
 Greetings,
 
 Mads
 
   Thanks,  - Conal 
  -
  This SF.net email is sponsored by: Microsoft
  Defy all challenges. Microsoft(R) Visual Studio 2005.
  http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
  ___ wxhaskell-users mailing 
  list wxhaskell-users@lists.sourceforge.net 
  https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 wxhaskell-users mailing list
 wxhaskell-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users