[GHC] #1029: ghc fails to find installed user package even though "ghc-pkg list" shows it

GHC trac at galois.com
Mon Nov 27 02:31:33 EST 2006


#1029: ghc fails to find installed user package even though "ghc-pkg list" shows
it
------------------------------------+---------------------------------------
 Reporter:  xoltar                  |          Owner:         
     Type:  bug                     |         Status:  new    
 Priority:  normal                  |      Milestone:         
Component:  Compiler                |        Version:  6.4.2  
 Severity:  normal                  |     Resolution:         
 Keywords:  ghc-pkg package --user  |     Difficulty:  Unknown
 Testcase:                          |   Architecture:  x86    
       Os:  FreeBSD                 |  
------------------------------------+---------------------------------------
Comment (by xoltar):

 Ah, got it. The problem is that when I initially configured the packages,
 I did:
 {{{
 ./setup --prefix=~/ghc
 }}}

 and apparently using ~/ghc doesn't work at all, and though "./setup
 install" happily claims to be doing the work of installing to ~/ghc, it
 doesn't actually even create a directory.

 However, if I provide an explicit path:
 {{{
 ./setup --prefix=/home/private/ghc
 }}}

 then everything works fine. Thanks for your help.

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


More information about the Glasgow-haskell-bugs mailing list