I'm using cabal install, $ ghc --make -O2 WinDll
WinDll\Lib\NativeMapping.hs:51:18: Could not find module `Language.Haskell.Exts': Use -v to see a list of the files searched for. Is the error message I get when I try to just compile it normally While $ ghc-pkg find-module "Language.Haskell.Exts" C:/msys/1.0/local\lib\package.conf.d: C:\Users\Phyx\AppData\Roaming\ghc\i386-mingw32-6.13.20100320\package.conf.d: haskell-src-exts-1.9.0 So it should be able to find it. I'm using a snapshot of GHC 6.13 $ ghc -v Glasgow Haskell Compiler, Version 6.13.20100320, for Haskell 98, stage 2 booted by GHC version 6.12.1 And $ cabal -V cabal-install version 0.9.0 using version 1.9.0 of the Cabal library I know 6.13 isn't out yet, But don't think they touched the packaging part much. -----Original Message----- From: daniel.is.fisc...@web.de [mailto:daniel.is.fisc...@web.de] Sent: Friday, April 16, 2010 14:42 To: Phyx Cc: haskell-cafe@haskell.org Subject: Re: [Haskell-cafe] ghc package problem Am Freitag 16 April 2010 14:06:16 schrieb Phyx: > (sorry for the duplication, forgot to reply to the mailing list too) > > Well, I did, I've completely unregistered the package, > > Did a check and recache, both completed with no problem. > > In detail what's happening is, I'm building a tool that requires > Haskell-src-exts, So I upgraded to the 1.9.0 release yesterday and all > went fine. > > However when I try to build my tool using my cabal file, it proceeds > to download all dependencies and reinstalling them,, (including > Haskell-src-exts) even though They are all already installed (gathered > that from the output of ghc-pkg list). Which command do you use, runhaskell ./Setup.hs *, cabal install, cabal install --reinstall? Only for the last it wouldn't be utterly bewildering, though reinstalling all dependencies might be a bit extreme. Which versions of GHC and cabal-install are you using? > > It does this everytime, so everytime It tries to build all > dependencies and then the tool. But if I try to load the file in GHCI, > it also says it can't find the packages. What is the exact error message? > > -----Original Message----- > From: daniel.is.fisc...@web.de [mailto:daniel.is.fisc...@web.de] > Sent: Friday, April 16, 2010 13:36 > To: haskell-cafe@haskell.org > Cc: Phyx > Subject: Re: [Haskell-cafe] ghc package problem > > Am Freitag 16 April 2010 11:28:54 schrieb Phyx: > > Hi all, > > > > > > > > I'm having a rather weird problem, > > > > > > > > Ghc-pkg list shows a package installed but doing a ghc -make will > > give an error saying that It can't find a module that's supposed to > > be in the installed package. > > > > > > > > And cabal install always reinstall all the dependencies on every > > change. It doesn't seem to see that they're already installed. > > Can we have more details, please? > > As a first idea, you might try > > ghc-pkg unregister offending-package > cabal install offending-package _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe