On Fri, Feb 27, 2009 at 12:04 AM, Thomas Davie <tom.davie@gmail.com> wrote:

On 27 Feb 2009, at 08:17, Arne Dehli Halvorsen wrote:

Manuel M T Chakravarty wrote:
I'm planning to purchase a MacBookPro so I'm wondering how well
Haskell is supported under this platform.

At least two of the regular contributors to GHC work on Macs.  That should ensure that Mac OS X is well supported.  Installation is trivial with the Mac OS X installer package:

 http://haskell.org/ghc/download_ghc_6_10_1.html#macosxintel

Good advice, but I've generally found the MacPorts version more consistantly built – plus, sudo port install ghc is nice and easy :)

Does the MacPort have GMP linked statically or dynamically?  I haven't gotten around to trying to build things with a dynamic libgmp yet... but it's not fun to have LGPL statically linked stuff if you care about your own licensing terms.
 


Hi, following on from this point:

How does one get gtk2hs running on a mac?

I have a MacBook Pro, and I've had ghc installed for some time now.

(first in 6.8.2 (packaged),
then 6.10.1 (packaged),
then 6.8.2 via macports 1.6
then 6.10.1 via macports 1.7)

I tried to install gtk2hs via macports, but it didn't work.
(0.9.12? on 6.8.2, then on 6.10.1)
Is there a recipe one could follow?
Can I get the preconditions via macports, and then use cabal to install
gtk2hs 0.10?

For me, this worked:
sudo port install ghc
sudo port install gtk2
sudo port install cairomm
curl http://downloads.sourceforge.net/gtk2hs/gtk2hs-0.10.0.tar.gz > gtk2hs-0.10.0.tar.gz
tar xvfz gtk2hs-0.10.0.tar.gz
normal install stuff here.

Bob_______________________________________________