[Haskell-cafe] 2014 haskell cabal update hangs on mac
dgorin at dc.uba.ar
Wed Aug 27 10:19:52 UTC 2014
I had the same problem. It turned out to be that for some unknown reason I ended up with:
/Library/Haskell/ghc-7.8.3-x86_64/bin/cabal -> cabal.wrap
/Library/Haskell/ghc-7.8.3-x86_64/bin/cabal.real -> cabal.wrap
where cabal.wrap is a shell script that checks if a new cabal.config should be created and then calls… cabal.real. Replacing cabal.real with a binary version of cabal solves it.
I don’t know why this happened, I suspect that it might occur if you had ghc 7.8.2 already installed...
On 27 Aug 2014, at 00:58, Madhu Babu <madhub.bits at gmail.com> wrote:
> You are right. It worked for me now. Earlier, i deleted only /Library/Hashell, ~/.cabal & one more similar dir. Looks like there are lot of directories ( & more importantly broken symlinks which were still pointing to old Library ).
> Once i deleted all of them, it worked.
> Thanks again for the advice.
> On Tue, Aug 26, 2014 at 4:23 PM, S D Swierstra <doaitse.swierstra at gmail.com> wrote:
> I suffered from the same phenomenon. I carefully removed everything which smelled of ghc, including .ghc in my home directory and many spurious aliases. That cured the problem,
> On 26 Aug 2014, at 6:51 , Madhu Babu <madhub.bits at gmail.com> wrote:
>> I initially installed haskell platform ( 2013 version; 7.6.3 ghc ) on my mac. Everything was working great. Just now saw the haskell platform website again and found new version was released ( Haskell Platform 2014.2.0.0 for Mac OS X, 64bit ). I installed it, and un-installed the older version using uninstall-hs.
>> Now when i type "cabal" or "cabal update" on my terminal, it hangs. Actually when i look into Activity Monitor, i can see that it is invoking some "sh script & possibly some find command" infinitely. I initially guess may be it is building some indexes. but it has been running for an hr or so.
>> I have Xcode 5, gcc and other command line tools installed properly
>> Please advice. I cannot install any other package using cabal.
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe