Ticket #355 (closed defect: wontfix)
"./Setup.hs configure" does not find older Cabal version when a newer one is installed
| Reported by: | guest | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Cabal library | Version: | 1.4.0.1 |
| Severity: | normal | Keywords: | |
| Cc: | Difficulty: | normal | |
| GHC Version: | 6.8.3 | Platform: | Linux |
Description
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/).)
Change History
Note: See
TracTickets for help on using
tickets.
