[Hackage] #165: The ./configure configure hook should complain if ./configure does not exist

#165: The ./configure configure hook should complain if ./configure does not exist ---------------------+------------------------------------------------------ Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal | Version: 1.2.0 Severity: normal | Keywords: Difficulty: normal | Ghcversion: 6.4.2 Platform: Linux | ---------------------+------------------------------------------------------ We often have problems with people not running auto(re)conf before Setup configure, and things breaking later on. The hook that runs ./configure should fail if ./configure doesn't exist; it probably shouldn't give any suggestion on how to create it, as people will blindly follow the suggestion and one size probably won't fit all. This essentially depends on the proposals to split up hooks into smaller, composable parts. Ian Lynagh -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/165 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#165: The ./configure configure hook should complain if ./configure does not exist ---------------------+------------------------------------------------------ Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal | Version: 1.2.0 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.4.2 | Platform: Linux ---------------------+------------------------------------------------------ Comment (by duncan): Certainly {{{build-type: Configure}}} should complain if ./configure cannot be found/run. Similarly, {{{defaultMainWithHooks autoconfHooks}}} should fail if {{{./configure}}} is not found, however {{{defaultMainWithHooks defaultHooks}}} is a mess because it's not actually the default but some packages use that thinking it is the default. Or if they extend defaultHooks but do not especially want to run {{{./configure}}}. So it works for them at the moment but would fail if we made that a hard error. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/165#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#165: The ./configure configure hook should complain if ./configure does not exist ---------------------+------------------------------------------------------ Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal | Version: 1.2.0 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.4.2 | Platform: Linux ---------------------+------------------------------------------------------ Comment (by duncan): I think we should deprecate defaultHooks and suggest people use simpleHooks or autoconfHooks. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/165#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#165: The ./configure configure hook should complain if ./configure does not exist ----------------------------+----------------------------------------------- Reporter: guest | Owner: Type: defect | Status: closed Priority: normal | Milestone: Component: Cabal library | Version: 1.2.0 Severity: normal | Resolution: fixed Keywords: | Difficulty: very easy (<1 hour) Ghcversion: 6.4.2 | Platform: Linux ----------------------------+----------------------------------------------- Changes (by duncan): * status: new => closed * difficulty: normal => very easy (<1 hour) * resolution: => fixed Comment: Done. * exported `autoconfUserHooks` * deprecated `defaultUserHooks` telling people to use either `simpleUserHooks` or `autoconfUserHooks` * changed `autoconfUserHooks` so that it fails if `configure` cannot be found. * kept `defaultUserHooks` behavior the same, ie run configure if it exists and don't fail if it does not. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/165#comment:3 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage