[Haskell-cafe] Cabal install pandoc

Roger Mason rmason at mun.ca
Tue Apr 2 14:35:35 CEST 2013


Hello Albert,

On 04/01/2013 11:41 PM, Albert Y. C. Lai wrote:
> On 13-04-01 06:26 AM, Roger Mason wrote:
>> It turned out that there was a stale version of 'array' lurking in the
>> ghc package db.  In spite of reinstalling ghc it did not go away until I
>> unregistered it.  I think it was persisting because re-installing ghc
>> simply unpacked over the old directory leaving that pre-existing file
>> intact.
>
> See my http://www.vex.net/~trebla/haskell/sicp.xhtml for how does GHC 
> know or not know what libs you have. In particular, it has very little 
> to do with files, and clearing GHC is only half the story.
>
> And how to have the same kind of problems recur in the future.
Thank you.  I have read and filed away the article for future 
reference.  I guess the best (least error prone) method of installing 
ghc and packages is to obtain a binary ghc (outside one's package 
manager), build haskell platform and then maintain ghc and packages 
outside the distro package manager.

Comments welcome.

Roger

This electronic communication is governed by the terms and conditions at
http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php



More information about the Haskell-Cafe mailing list