Re: [GHC] #2085: cabal uses haddock from hard-coded location

2008-02-17 Thread GHC
#2085: cabal uses haddock from hard-coded location
-+--
Reporter:  Frederik  |Owner: 
Type:  bug   |   Status:  closed 
Priority:  normal|Milestone: 
   Component:  Build System  |  Version:  6.8.2  
Severity:  normal|   Resolution:  wontfix
Keywords:| Testcase: 
Architecture:  Unknown   |   Os:  Unknown
-+--
Comment (by Frederik):

 OK, that makes sense. Sorry for the bogus bug.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2085: cabal uses haddock from hard-coded location

2008-02-10 Thread GHC
#2085: cabal uses haddock from hard-coded location
-+--
Reporter:  Frederik  |Owner: 
Type:  bug   |   Status:  closed 
Priority:  normal|Milestone: 
   Component:  Build System  |  Version:  6.8.2  
Severity:  normal|   Resolution:  wontfix
Keywords:| Testcase: 
Architecture:  Unknown   |   Os:  Unknown
-+--
Changes (by duncan):

  * status:  new => closed
  * resolution:  => wontfix

Comment:

 If someone specifies a non-standard location using --happy-prog= then we
 have to remember that in the configuration somewhere. Even if the program
 is on the path we have to check that it does indeed exist, so that
 involves finding it and often running it to check its version. Then the
 choice is between remembering the unqualified or fully qualified path.
 There does not seem to be much to choose between the two, we somewhat
 arbitrarily pick the qualified path.

 I think other systems do this too, eg you'll see many build systems
 running /usr/bin/gcc even though they were only looking for gcc on the
 path at configure time. For example autoconf saves the path info in the
 Makefile, generated by ./configure.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2085: cabal uses haddock from hard-coded location

2008-02-09 Thread GHC
#2085: cabal uses haddock from hard-coded location
-+--
Reporter:  Frederik  |Owner: 
Type:  bug   |   Status:  new
Priority:  normal|Milestone: 
   Component:  Build System  |  Version:  6.8.2  
Severity:  normal|   Resolution: 
Keywords:| Testcase: 
Architecture:  Unknown   |   Os:  Unknown
-+--
Comment (by Frederik):

 I see now that Cabal is storing the executable location in "dist/setup-
 config" during the configure step. Still seems somewhat strange, do other
 build systems do that? I think of PATH as part of my configuration
 already, it's not like I would have PATH set up correctly when configuring
 a package, and then incorrectly when building the same package. On the
 other hand, maybe there's a good reason I am not aware of for doing it
 this way.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2085: cabal uses haddock from hard-coded location

2008-02-09 Thread GHC
#2085: cabal uses haddock from hard-coded location
-+--
Reporter:  Frederik  |Owner: 
Type:  bug   |   Status:  new
Priority:  normal|Milestone: 
   Component:  Build System  |  Version:  6.8.2  
Severity:  normal|   Resolution: 
Keywords:| Testcase: 
Architecture:  Unknown   |   Os:  Unknown
-+--
Comment (by duncan):

 Will need more details, symptoms, build logs or whatever. What is this
 hard coded location? As far as I know and from looking at the code, it
 uses the path to find haddock, just like it does for almost every other
 program.

 Also, it'd be helpful to know if you're talking about haddock-0.x or 2.x
 as they get treated somewhat differently.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


[GHC] #2085: cabal uses haddock from hard-coded location

2008-02-08 Thread GHC
#2085: cabal uses haddock from hard-coded location
-+--
Reporter:  Frederik  |   Owner:  
Type:  bug   |  Status:  new 
Priority:  normal|   Component:  Build System
 Version:  6.8.2 |Severity:  normal  
Keywords:|Testcase:  
Architecture:  Unknown   |  Os:  Unknown 
-+--
 I don't know if this is a feature or a bug. It seems that cabal doesn't
 search for the haddock executable in $PATH but uses a hard-coded location.
 Is this the best behaviour? It seems confusing to me. It makes it
 difficult to upgrade different pieces of the system separately.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs