[Haskell] Compiling wxHaskell from source?

Iavor Diatchki iavor.diatchki at gmail.com
Thu Nov 17 18:48:15 EST 2005


Hello,
I also couldn't compile it.  I looked in the sources a bit, and at
least one of the problems was that that the wxHaskell wrappers used
'char' insted of 'wxChar', which I think causes problems if wxWidgets
is compiled with unicode support (as is probably the case with the
Debian library).  It appears that the soultion posted on the board
also required wxWidgets without unicode support.  These are just
guesses though.
-Iavor

On 11/17/05, Arthur Baars <arthurb at cs.uu.nl> wrote:
> Wouter Swierstra succeeded compiling wxhaskell for Mac OSX Tiger. See
> his messages on the wxhaskell-mailinglist:
> http://sourceforge.net/mailarchive/forum.php?forum_id=34197
>
> > From: Wouter Swierstra <wss at Cs...>.Nott.AC.UK>
> > Re: Installation on Mac OS X
> > 2005-11-09 04:42
> > Yep, that fixes it.
> >
> > Thanks again for everyone's help.
> >
> > --Wouter
> >
> > For the record, here's what I had to do
> >
> > Download wxMac2.6.2
> >
> >  > cd wxMac-2.6.2/
> >  > mkdir mybuild
> >  > cd mybuild
> >  > ./configure --disable-shared --disable-unicode
> >  > make
> >  > sudo make install
> >
> > Download and unpack wxHaskell 0.9.4
> >
> > comment out the function wxColour_GetPixel in wxhaskell-0.9.4/wxc/src/
> > ewxw/eljcolour.cpp
> >
> >  >./configure --wx-config=/usr/local/bin/wx-config
> >  >make
> >  >make install
>
> Cheers,
>
> Arthur
> On 17-nov-05, at 22:29, Joel Reymont wrote:
>
> > I cannot build it on Mac OSX either. I think it has to do with GCC 4.x.
> >
> > On Nov 17, 2005, at 9:09 PM, Deling Ren wrote:
> >
> >> Hi there, is there anyone out there having luck with compiling
> >> wxHaskell from source on Debian? My Debian version is 3.1, ghc 6.4.1
> >> from sid. wxWidgets 2.6.3. wxHaskell version is 0.9.4. gcc version is
> >> 4.0.3. I got the following error messages when trying to run "make".
>
> _______________________________________________
> Haskell mailing list
> Haskell at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell
>


More information about the Haskell mailing list