
When installing package haskell-src-exts via cabal install, I get the error Language/Haskell/Exts/Syntax.hs:102:7: Could not find module `Data.Data': it is a member of package base, which is hidden However, when manually installing runhaskell Setup.hs configure/build/install It works fine Somehow package base is not available in cabal.. don't know why. hugo -- www.di.uminho.pt/~hpacheco

On 2008 Nov 11, at 7:20, Hugo Pacheco wrote:
When installing package haskell-src-exts via cabal install, I get the error
Language/Haskell/Exts/Syntax.hs:102:7: Could not find module `Data.Data': it is a member of package base, which is hidden
However, when manually installing
runhaskell Setup.hs configure/build/install
It works fine Somehow package base is not available in cabal.. don't know why.
I think what this really means is that "cabal install" is using base-3 whereas direct installation is using base-4, or vice versa. dcoutts or the haskell-src-exts maintainer would have to tell you what to do about it though. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH

2008/11/11 Hugo Pacheco
When installing package haskell-src-exts via cabal install, I get the error Language/Haskell/Exts/Syntax.hs:102:7: Could not find module `Data.Data': it is a member of package base, which is hidden
However, when manually installing runhaskell Setup.hs configure/build/install It works fine Somehow package base is not available in cabal.. don't know why.
Like Brandon said, this is the case of cabal-install trying to be "clever" and picking base-3 as the default even when base-4 is available, while I in turn was trying to be "clever" in picking the right version of base depending on which compiler was used. I'm not sure who of us was actually the least clever, but in hindsight I think neither was a very good choice. I promised a new release when 6.10.1 proper was out, so here we go: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/haskell-src-exts-... Only change is that it will no longer work without the split base, explicitly expecting base >= 4. Cheers, /Niklas
participants (3)
-
Brandon S. Allbery KF8NH
-
Hugo Pacheco
-
Niklas Broberg