wxhaskell package for ubuntu feisty, amd64

I'm trying to install wxhaskell in ubuntu feisty, with ghc-6.6. After several days of trial and error and a few hours trying to change all types in my program to gtk2hs types, I'm tired. Does anyone have a .deb for wxhaskell that works with ghc-6.6?

Hi Iván, Try this: * install GHC and darcs: sudo apt-get install ghc6 sudo apt-get install darcs * install WxWidgets 2.6 sudo apt-get install libwxgtk2.6-dev sudo apt-get install freeglut3-dev sudo apt-get install g++ * install wxHaskell darcs get http://darcs.haskell.org/wxhaskell cd wxhaskell chmod u+x configure ./configure --with-opengl make sudo make install make wx sudo make wx-install cd .. * test wxhaskell with ghc ghci -package wx It's working in my laptop! Best Miguel P.S. This link could be helpful: http://wiki.loria.fr/wiki/GenI/Getting_GenI/Instructions_for_Ubuntu_Linux -----Mensagem original----- De: haskell-cafe-bounces@haskell.org [mailto:haskell-cafe-bounces@haskell.org] Em nome de Iván Pérez Domínguez Enviada: sexta-feira, 14 de Setembro de 2007 11:36 Para: haskell-cafe@haskell.org Assunto: [Haskell-cafe] wxhaskell package for ubuntu feisty, amd64 I'm trying to install wxhaskell in ubuntu feisty, with ghc-6.6. After several days of trial and error and a few hours trying to change all types in my program to gtk2hs types, I'm tired. Does anyone have a .deb for wxhaskell that works with ghc-6.6? _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Already had. Didn't work. This is what it reported: wxc/src/ewxw/eljcursor.cpp: In function ‘void* Cursor_CreateLoad(const wxString*, long int, int, int)’: wxc/src/ewxw/eljcursor.cpp:18: error: no matching function for call to ‘wxCursor::wxCursor(const wxString&, long int&, int&, int&)’ /usr/include/wx-2.6/wx/gtk/cursor.h:42: note: candidates are: wxCursor::wxCursor(const char*, int, int, int, int, const char*, wxColour*, wxColour*) /usr/include/wx-2.6/wx/gtk/cursor.h:38: note: wxCursor::wxCursor(const wxImage&) /usr/include/wx-2.6/wx/gtk/cursor.h:36: note: wxCursor::wxCursor(const wxCursor&) /usr/include/wx-2.6/wx/gtk/cursor.h:35: note: wxCursor::wxCursor(int) /usr/include/wx-2.6/wx/gtk/cursor.h:34: note: wxCursor::wxCursor() make: *** [out/wxc/ewxw/eljcursor.o] Erro 1 I googled it and couldn't find the solution. José Miguel Vilaça wrote:
Hi Iván,
Try this:
* install GHC and darcs: sudo apt-get install ghc6 sudo apt-get install darcs * install WxWidgets 2.6 sudo apt-get install libwxgtk2.6-dev sudo apt-get install freeglut3-dev sudo apt-get install g++ * install wxHaskell darcs get http://darcs.haskell.org/wxhaskell cd wxhaskell chmod u+x configure ./configure --with-opengl make sudo make install make wx sudo make wx-install cd .. * test wxhaskell with ghc ghci -package wx
It's working in my laptop!
Best Miguel
P.S. This link could be helpful: http://wiki.loria.fr/wiki/GenI/Getting_GenI/Instructions_for_Ubuntu_Linux
-----Mensagem original----- De: haskell-cafe-bounces@haskell.org [mailto:haskell-cafe-bounces@haskell.org] Em nome de Iván Pérez Domínguez Enviada: sexta-feira, 14 de Setembro de 2007 11:36 Para: haskell-cafe@haskell.org Assunto: [Haskell-cafe] wxhaskell package for ubuntu feisty, amd64
I'm trying to install wxhaskell in ubuntu feisty, with ghc-6.6.
After several days of trial and error and a few hours trying to change all types in my program to gtk2hs types, I'm tired.
Does anyone have a .deb for wxhaskell that works with ghc-6.6?

Hi Iván,
On Fri, 14 Sep 2007 20:16:29 +0900, Iván Pérez Domínguez
Already had. Didn't work.
This is what it reported:
wxc/src/ewxw/eljcursor.cpp: In function ‘void* Cursor_CreateLoad(const wxString*, long int, int, int)’: wxc/src/ewxw/eljcursor.cpp:18: error: no matching function for call to ‘wxCursor::wxCursor(const wxString&, long int&, int&, int&)’ /usr/include/wx-2.6/wx/gtk/cursor.h:42: note: candidates are: wxCursor::wxCursor(const char*, int, int, int, int, const char*, wxColour*, wxColour*) /usr/include/wx-2.6/wx/gtk/cursor.h:38: note: wxCursor::wxCursor(const wxImage&) /usr/include/wx-2.6/wx/gtk/cursor.h:36: note: wxCursor::wxCursor(const wxCursor&) /usr/include/wx-2.6/wx/gtk/cursor.h:35: note: wxCursor::wxCursor(int) /usr/include/wx-2.6/wx/gtk/cursor.h:34: note: wxCursor::wxCursor() make: *** [out/wxc/ewxw/eljcursor.o] Erro 1
I googled it and couldn't find the solution.
Mad fixed this problem. http://www.mail-archive.com/wxhaskell-users@lists.sourceforge.net/msg00254.h... So you must get newer darcs version, and build wxhaskell again. Best Regards, -- shelarcy <shelarcy hotmail.co.jp> http://page.freett.com/shelarcy/
participants (3)
-
Iván Pérez Domínguez
-
José Miguel Vilaça
-
shelarcy