[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 13:17:28 EDT 2008


#355: "./Setup.hs configure" does not find older Cabal version when a newer one
is installed
----------------------------+-----------------------------------------------
  Reporter:  guest          |        Owner:         
      Type:  defect         |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:  1.4.0.1
  Severity:  normal         |     Keywords:         
Difficulty:  normal         |   Ghcversion:  6.8.3  
  Platform:  Linux          |  
----------------------------+-----------------------------------------------
 I tried to configure a package with
 {{{
   Cabal-Version: >= 1.2 && < 1.3
 }}}
 in its cabal file. "ghc-pkg list" states i have both "Cabal-1.2.4.0" and
 "Cabal-1.4.0.1" installed. The configuration ("runghc Setup.lhs
 configure") fails with the following message:
 {{{
   Warning: grapefruit-frp.cabal: This package requires Cabal version:
 >=1.2 &&
   <1.3
   Configuring grapefruit-frp-0.0.0.0...
   Error: This package requires Cabal version: >=1.2 && <1.3
 }}}
 After "ghc-pkg unregister Cabal-1.4.0.1" everything works.

 (I stumbled upon this trying to compile grapefruit-frp
 (http://softbase.org/grapefruit/darcs/main/).)

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


More information about the cabal-devel mailing list