Information about solving trouble with cabal installer
bvssvni opened this issue · 3 comments
bvssvni commented
rm -rf ~/.ghc ~/.cabal
and reinstall Haskell platform.
Or you could try:
bvssvni commented
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 `cat /tmp/hs-bin-links`
Source: http://www.haskell.org/pipermail/haskell-cafe/2011-March/090170.html
bvssvni commented
If you are reinstalling Haskell platform after cabal install cabal-install
you might experience problems on OSX.
bvssvni commented
Add export PATH="~/Library/Haskell/bin/cabal":$PATH
to .bash_profile