[GHC] #1125: "module main:Foo is not loaded" when trying to load a module from a user package in ghci

GHC trac at galois.com
Tue Jan 30 06:51:42 EST 2007


#1125: "module main:Foo is not loaded" when trying to load a module from a user
package in ghci
-------------------------+--------------------------------------------------
    Reporter:  igloo     |       Owner:         
        Type:  bug       |      Status:  new    
    Priority:  normal    |   Milestone:  6.6.1  
   Component:  Compiler  |     Version:  6.6    
    Severity:  normal    |    Keywords:         
  Difficulty:  Unknown   |    Testcase:         
Architecture:  Unknown   |          Os:  Unknown
-------------------------+--------------------------------------------------
When installing a cabal package as a user, loading a module from the
 package in ghci fails; it looks like it's got the package wrong.

 {{{
 $ ghc --make Setup
 [...]
 $ ./Setup configure --prefix=/tmp/foo
 [...]
 $ ./Setup build
 [...]
 $ ./Setup install --user
 [...]
 $ ghci
 [...]
 Prelude> :m + Foo
 module main:Foo is not loaded
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1125>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list