[Haskell-cafe] wxhaskell package for ubuntu feisty, amd64

Iván Pérez Domínguez iperez at babel.ls.fi.upm.es
Fri Sep 14 07:16:29 EDT 2007

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
/usr/include/wx-2.6/wx/gtk/cursor.h:36: note: wxCursor::wxCursor(const
/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 at haskell.org
> [mailto:haskell-cafe-bounces at haskell.org] Em nome de Iván Pérez Domínguez
> Enviada: sexta-feira, 14 de Setembro de 2007 11:36
> Para: haskell-cafe at 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?

More information about the Haskell-Cafe mailing list