[Hackage] #384: suggest use of --user if configure fails with missing deps that are in the user db

Hackage trac at galois.com
Wed Oct 29 14:30:15 EDT 2008


#384: suggest use of --user if configure fails with missing deps that are in the
user db
----------------------------+-----------------------------------------------
  Reporter:  duncan         |        Owner:       
      Type:  enhancement    |       Status:  new  
  Priority:  normal         |    Milestone:       
 Component:  Cabal library  |      Version:  HEAD 
  Severity:  normal         |     Keywords:       
Difficulty:  normal         |   Ghcversion:  6.8.3
  Platform:                 |  
----------------------------+-----------------------------------------------
 The fact that `runghc Setup configure` and `cabal configure` are different
 confuses people. The former does a `--global` install by default while the
 latter does `--user` installs by default. This crops up when people
 install something via `cabal-install` and then configure another package
 using `runghc Setup` and are confused when the dependency they just
 installed is apparently missing.

 One solution would be that when configure finds that there are missing
 dependencies, it could check them in the per-user package database and if
 they are found to suggest that the user might have intended to do a per-
 user install. Mentioning the constraint that global packages can only
 depend on other global packages probably would not go amiss either.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/384>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list