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

2007-09-20 Thread shelarcy
Hi Iván,

On Fri, 14 Sep 2007 20:16:29 +0900, Iván Pérez Domínguez <[EMAIL PROTECTED]> 
wrote:
> 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/[EMAIL PROTECTED]/msg00254.html

So you must get newer darcs version, and build wxhaskell again.


Best Regards,

-- 
shelarcy 
http://page.freett.com/shelarcy/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


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

2007-09-14 Thread 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.

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: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] 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


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

2007-09-14 Thread José Miguel Vilaça
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


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

2007-09-14 Thread Iván Pérez Domínguez
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