[Hackage] #355: "./Setup.hs configure" does not find older Cabal version when a newer one is installed

Hackage trac at galois.com
Wed Sep 24 14:06:02 EDT 2008


#355: "./Setup.hs configure" does not find older Cabal version when a newer one
is installed
----------------------------+-----------------------------------------------
  Reporter:  guest          |        Owner:         
      Type:  defect         |       Status:  closed 
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:  1.4.0.1
  Severity:  normal         |   Resolution:  wontfix
  Keywords:                 |   Difficulty:  normal 
Ghcversion:  6.8.3          |     Platform:  Linux  
----------------------------+-----------------------------------------------
Changes (by duncan):

  * status:  new => closed
  * resolution:  => wontfix

Comment:

 The problem here is that by the time you're running `runghc Setup.hs`
 you've already fixed the version of the Cabal library that you are using
 and Cabal has no choice in the matter.

 This is solved by `cabal-install` because it is a program and builds
 Setup.hs using an appropriate version of the Cabal lib.

 So I don't think we can really fix it. The workaround is to use `cabal-
 install` or `runghc -package Cabal-1.2.4.0 Setup.hs`.

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


More information about the cabal-devel mailing list