#3004: Makefile needs to improve treatment of HsColour
-----------------------------+----------------------------------------------
Reporter:  nr                |          Owner:                  
    Type:  bug               |         Status:  new             
Priority:  normal            |      Component:  Build System    
 Version:  6.11              |       Severity:  minor           
Keywords:                    |       Testcase:                  
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
-----------------------------+----------------------------------------------
 Fresh checkout, a few new patches, sh boot & configure are OK, but 'make'
 results in

 {{{
 : n...@labrador 10435 ; make
 HsColour needed but wasn't found.
 Set HSCOLOUR_SRCS=NO if you don't want to use it
 exit 1
 make: *** [check-tools] Error 1
 }}}

 Things that are wrong here:

   1. 'sh boot; ./configure; make' failed.  This should never happen.
   1. I'm not told ''where'' to set {{{HSCOLOUR_SRCS=NO}}}.
   1. The missing software should be detected by ./configure and the
 variable set then.
   1. The error message (which should be a warning message from configure)
 does not tell me how to get and install the HsColour software.  The error
 message should include information along the following lines:
     {{{
 If you do want to use the software, the source is at

 http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hscolour

 If you've got cabal-install then:

 $ cabal update
 $ cabal install hscolour
 }}}
  5. Finally, the message should say what {{{HsColour}}} is so that the
 rank amateur (me) can figure out if it's worth installing.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3004>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to