[Haskell-beginners] Struggling with Haskell updates on Macintosh

David Jameson dhjdhj at gmail.com
Sat Dec 18 15:43:34 CET 2010


Hi, I'm trying to teach myself Haskell and have installed the platform on my Mac along with Leksah.

I'm trying to use cabal to get some updates (in particular mtl so that I can get the gtk library working) and cabal wants to update itself.

However, when I try to do this, I'm running into various issues

1) I get a lot of warnings about the Module Prelude being deprecated  (possibly due to some legacy haskell installs?)

2) The update is being installed into a different location ~/.cabal rather than to /usr/local/bin/cabal (which itself is an alias to /Library/Frameworks/HaskellPlatform.framework/bin/cabal) so no matter how many times I try to update, I keep getting told there's a new version. So how can I make the update go into the correct location?

Many thanks,

David Jameson


More information about the Beginners mailing list