9 Oct 2012 17:31
problem with cabal-install-1.16.0 and Cabal-1.16.0.1 on Haskell Platform for OS X
Derrell Piper <ddp <at> electric-loft.org>
2012-10-09 15:31:15 GMT
2012-10-09 15:31:15 GMT
Hi, New Haskell user here. I have the latest Haskell Platform 2012.2.0.0 for Mac OS X, 64 bit installed. I have not installed any additional packages. Believe me, the Prelude hurts enough. Anyways, seeing the big update to cabal, I decided to install it and did a: cabal install cabal-install-1.16.0 Cabal-1.16.0.1 ...per the announcement. The installation seemingly went well (log attached) but I'm left with a symlink farm that's still pointing at the old version. NB: I did the installation in my own account (ddp), not via sudo which looks like what was probably expected given the ownerships I do see. Here's what I'm left with: % which cabal /usr/bin/cabal % ls -la /usr/bin/cabal lrwxr-xr-x 1 root wheel - 26 Oct 8 16:42 /usr/bin/cabal -> /Library/Haskell/bin/cabal % ls -la /Library/Haskell/bin/cabal* lrwxr-xr-x 1 ddp wheel - 10 Oct 8 16:42 /Library/Haskell/bin/cabal -> cabal.wrap lrwxr-xr-x 1 ddp wheel - 37 Oct 8 16:42 /Library/Haskell/bin/cabal.real -> ../lib/cabal-install-0.14.0/bin/cabal -rwxr-xr-x 1 root admin - 4197 May 27 12:37 /Library/Haskell/bin/cabal.wrap I find that it actually installed itself here: % ls -la ~/Library/Haskell/bin/cabal* lrwxr-xr-x 1 ddp staff - 47 Oct 8 20:45 /Users/ddp/Library/Haskell/bin/cabal -> ../ghc-7.4.1/lib/cabal-install-1.16.0/bin/cabal So I guess my questions are: 1) did I miss some step along the way? 2) what's the correct way to fix this? Just change the cabal.real symlink to point to where it actually is? 3) which, if any, directories should I have in my PATH in general: /Library/Haskell/bin, ~/Library/Haskell/bin, neither or both? Thanks,(Continue reading)
RSS Feed