Make Happy Explicitly Depend on Perl

Probably no-one has ever built happy on a machine without perl so this has never been noticed. I think it's more polite to fail at the configure stage rather than the build stage. In the cabal file I think we should have
build-tools: perl
Here's a patch. Regards, Dominic.

On Jan 10, 2010, at 06:07 , Dominic Steinitz wrote:
Probably no-one has ever built happy on a machine without perl so this has never been noticed. I think it's more polite to fail at the
More likely, it's because until fairly recently ghc required perl (for the Evil Mangler). -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH

Probably no-one has ever built happy on a machine without perl so this has never been noticed. I think it's more polite to fail at the
More likely, it's because until fairly recently ghc required perl (for the Evil Mangler).
I have noticed and reported this in the past. On Windows GHC installs Perl, but doesn't put it on the %PATH%, which causes building happy to fail on a default Windows install of GHC. Thanks, Neil

On Sun, 2010-01-10 at 11:07 +0000, Dominic Steinitz wrote:
Probably no-one has ever built happy on a machine without perl so this has never been noticed. I think it's more polite to fail at the configure stage rather than the build stage. In the cabal file I think we should have
I've been meaning for some time to exorcise perl from the happy build. The little bit of substituting could fairly easily be done in Haskell code in the Setup.hs rather than calling perl. As Neil says, this would also help Windows users. Perhaps someone else has the time to give that a go. In the mean time "build-tools: perl" is of course correct. Duncan

On 10/01/2010 11:07, Dominic Steinitz wrote:
Probably no-one has ever built happy on a machine without perl so this has never been noticed. I think it's more polite to fail at the configure stage rather than the build stage. In the cabal file I think we should have
build-tools: perl
Here's a patch.
Applied, thanks. Simon
participants (5)
-
Brandon S. Allbery KF8NH
-
Dominic Steinitz
-
Duncan Coutts
-
Neil Mitchell
-
Simon Marlow