ghci can't find Paths_ module created by cabal

Duncan Coutts duncan.coutts at googlemail.com
Sun Oct 25 15:07:59 EDT 2009


On Wed, 2009-10-21 at 22:34 +0100, Robin Green wrote:
> I'm trying to run cabal-install in ghci so I can run it under the ghci
> debugger. However I try it, though, I always get one of these two
> errors:
> 
> /src/greenrd/darcs/cabal-install/Main.hs:70:17:
>     Could not find module `Paths_cabal_install':
>       Use -v to see a list of the files searched for.
> Failed, modules loaded: none.

$ ls dist/build/autogen/
cabal_macros.h  Paths_cabal_install.hs

$ ghci Main.hs -idist/build/autogen -package base-3.0.3.1


Duncan



More information about the Libraries mailing list