Re: [Haskell] Compiling wxHaskell from source?

2005-11-18 Thread Johan Jeuring
I cannot build it on Mac OSX either. I think it has to do with GCC  
4.x.


I managed to build wxHaskell on Mac OSX 10.4. Make sure to have the  
latest XCode, but also make sure you use gcc 3.3 instead of gcc 4.?.  
You can reset gcc by means of gcc_select.


-- Johan


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


Re: [Haskell] Compiling wxHaskell from source?

2005-11-17 Thread Joel Reymont

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.


--
http://wagerlabs.com/





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


Re: [Haskell] Compiling wxHaskell from source?

2005-11-17 Thread Arthur Baars
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 [EMAIL PROTECTED].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@haskell.org
http://www.haskell.org/mailman/listinfo/haskell


Re: [Haskell] Compiling wxHaskell from source?

2005-11-17 Thread Iavor Diatchki
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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED].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@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell

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