On programming and programming languages: because there has got to be a better way.

09 September 2009

MacPorts, Snow Leopard, and GHC == Sadness

Wow, it has been a long time since I've had anything to say on this particular blog. Another baby (we're at four now) will do that to a guy, I guess.

I was going to do a little exploratory coding tonight, and so installed XCode, then MacPorts, then tried to install GHC. MacPorts tells me (after installing most of the components) that "ghc is not yet supported on Mac OS X 10.6.x (SnowLeopard)."

I know it hasn't been out very long, but the APIs have supposedly been frozen since May, so I'm a bit surprised.

I guess I'll see if the package installer works, but I was hoping to go a little more cutting-edge.

8 comments:

Paul, the problem is that there's no 64 bit build for Macs yet. Use the Haskell platform installer and then google ghc Snow Leopard to help you configure it for building 32-bit binaries. It's the only way for now.

Across the board on OS X or Linux, I use a package manager whenever I'd be happy with a version of a package from the last year or two. I have friends who adopt packages, and they tell me I should too, if I want to expect better than this for any package I care about. This has nothing to do with GHC, it's the norm.

There's a tiny issue with Snow Leopard; see http://hackage.haskell.org/trac/ghc/ticket/3400 and links for details.

Intall GHC using the package "GHC-6.10.4-i386.pkg" found directly on their site: http://haskell.org/ghc/download_ghc_6_10_4.html