#177: Check Include-dirs, extra-lib-dirs etc exist at configure time.
----------------------------+-----------------------------------------------
Reporter: guest | Owner:
Type: defect | Status: new
Priority: low | Milestone:
Component: Cabal library | Version: 1.2.2.0
Severity: normal | Resolution:
Keywords: | Difficulty: normal
Ghcversion: 6.6 | Platform: Windows
----------------------------+-----------------------------------------------
Changes (by duncan):
* priority: normal => low
* difficulty: easy (<4 hours) => normal
* milestone: Cabal-1.6 =>
Comment:
So I think the decision is that we should only require that relative paths
exist, not absolute paths. Ticket #262 covers checking that libs, and
headers can actually be found.
We should check that the configure flags `--extra-lib-dirs=`, `--extra-
include-dirs=` do point to directories that actually exist.
The only other improvement we could make would be to somehow notice that
joining two adjacent components of a directory field with a space form a
valid absolute path that actually exists, when both components do not, and
in such a case suggest that the user perhaps meant to use a path with an
embedded space in which case they must use "" Haskell String syntax.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/177#comment:10>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects