ghci can't find Paths_ module created by cabal

View: New views
2 Messages — Rating Filter:   Alert me  

ghci can't find Paths_ module created by cabal

by greenrd :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

or

<command line>:
    Could not find module `Main':
      Use -v to see a list of the files searched for.

--
Robin
_______________________________________________
Libraries mailing list
Libraries@...
http://www.haskell.org/mailman/listinfo/libraries

Re: ghci can't find Paths_ module created by cabal

by Duncan Coutts-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

_______________________________________________
Libraries mailing list
Libraries@...
http://www.haskell.org/mailman/listinfo/libraries