Ticket #120 (closed defect: fixed)
misleading error message from cabal when versions differ
| Reported by: | igloo@… | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Cabal library | Version: | 1.1.6 |
| Severity: | normal | Keywords: | |
| Cc: | Difficulty: | easy (<4 hours) | |
| GHC Version: | 6.6 | Platform: | Linux |
Description
From a GHC ticket: http://hackage.haskell.org/trac/ghc/ticket/1237
(perhaps configure should record the full path to GHC?)
Using cabal, I do './Setup.hs configure', './Setup.hs build', and 'sudo ./Setup.hs install'. Unfortunately, root's $PATH pointed to a different GHC (6.7 at some point, and not 6.4.2 which I was using), which resulted in the error message:
Setup.hs: error reading ./.setup-config; run "setup configure" command?
Of course, there was nothing wrong with .setup-config, so I spent some time investigating permissions, before int-e suggested that the search path was at fault.
Change History
Note: See
TracTickets for help on using
tickets.
