
Em Dom, 2007-01-07 às 02:07 +0000, Ross Paterson escreveu:
On Sun, Jan 07, 2007 at 12:44:46PM +1100, Donald Bruce Stewart wrote:
dmhouse:
On 06/01/07, Chris Kuklewicz
wrote: Running --configure notices that many things are not installed, but this is just noise from Cabal.
This is the second time I've seen someone get confused by these messages. I propose we add a 'Configuration successful, now type runhaskell Setup.hs build.' to the bottom of the configure output.
I agree. This issue is even mentioned here:
www.serpentine.com/blog/2007/01/05/getting-started-with-installing-third-party-haskell-packages/
Those new to Cabal always seem to assume things are going badly when "happy not found". We need to address the psychological aspect of Cabal's config process :)
But it's not enough to just say "Ignore any errors above". Some packages really do need happy (or some other tool) to build. Cabal would need to crawl over the source files to see what preprocessors are really needed. (It does that in the build phase, but not configure.) If haddock is absent, you can build and install, but not build documentation.
Maybe if in the Cabal file was specified what's needed for compiling the package, this would not happen. -- malebria Marco Túlio Gontijo e Silva Correio (MSN): malebria@riseup.net Jabber (GTalk): malebria@jabber.org Telefone: 33346720 Celular: 98116720 Endereço: Rua Paula Cândido, 257/201 Gutierrez 30430-260 Belo Horizonte/MG Brasil