can't install 64-bit haskell platform for mac os x

Jesse Alama jesse.alama at gmail.com
Wed Jun 29 18:53:25 BST 2011


Mark Lentczner wrote:
> The following script will remove all traces of the HP installs on your
> system. Then you can re-install the 64-bit version:
>
> WARNING: Review this script: It trashes everything and HP platform installer
> could have installed, as well as Haskell packages cabal installed. It also
> kills some stuff in your home dir. If you have configuration files in
> ~/.cabal and/or ~/.ghc, copy them somewhere else first.
>
>   - Mark
>
> #!/bin/bash
> set -x
>
> sudo rm -rf /Library/Frameworks/GHC.framework
> sudo rm -rf /Library/Frameworks/HaskellPlatform.framework
> sudo rm -rf /Library/Haskell
> rm -rf ~/.cabal
> rm -rf ~/.ghc
> rm -rf ~/Library/Haskell
> find /usr/bin /usr/local/bin -type l | \
>    xargs -If sh -c '/bin/echo -n f /; readlink f' | \
>    egrep '//Library/(Haskell|Frameworks/(GHC|HaskellPlatform).framework)' | \
>    cut -f 1 -d ' '>  /tmp/hs-bin-links
> sudo rm -f `cat /tmp/hs-bin-links`

The script did the trick, thanks!  I installed the 64-bit version of the 
HP and am happily hacking away with it.

Thanks again,

Jesse

-- 
Jesse Alama
http://centria.di.fct.unl.pt/~alama/




More information about the Haskell-platform mailing list