[Haskell-cafe] wxHaskell on Mac (Was: Status of Haskell + Mac + GUIs & graphics)
Eric Y. Kow
eric.kow at gmail.com
Wed May 18 17:53:54 CEST 2011
Hi
On Wed, May 18, 2011 at 09:18:42 +0100, Andrew Butterfield wrote:
> Alas - I have yet to be able to build it on Mac OS X (Snow Leopard)
For what it's worth, I'm still using wxHaskell on MacOS X (also Snow
Leopoard)
The tricky bits are that you have to
1. install wxWidgets by hand, being sure to enable Unicode
and to compile a 32 bit version:
arch_flags="-arch i386"
./configure CFLAGS="$arch_flags"\
CXXFLAGS="$arch_flags"\
CPPFLAGS="$arch_flags"\
LDFLAGS="$arch_flags"\
OBJCFLAGS="$arch_flags"\
OBJCXXFLAGS="$arch_flags"\
--enable-unicode
2. do the Rez and app bundle magic which is now handily
encapsulated in the cabal-macosx package on hackage
I also have patches to make it work with the latest Haskell Platform
and will put them on Hackage shortly assuming nobody objects
darcs get --lazy http://darcsden.com/kowey/wxhaskell
Unfortunately, this does not address Conal's issue about using wxHaskell
with GHCi on Mac. I do wish somebody had a free week to concentrate on
the issue. Maintainer Jeremy made some progress on it, the last time I
checked...
--
Eric Kow <http://erickow.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110518/1e1ce40a/attachment.pgp>
More information about the Haskell-Cafe
mailing list