Multiple versions of happy
Simon Peyton Jones
simonpj at microsoft.com
Tue Mar 30 13:22:04 UTC 2021
That's (2), thanks. How about (1)?
From: Sebastian Graf <sgraf1337 at gmail.com>
Sent: 30 March 2021 14:22
To: Simon Peyton Jones <simonpj at microsoft.com>
Cc: ghc-devs at haskell.org
Subject: Re: Multiple versions of happy
Hi Simon,
According to the configure script, you can use the HAPPY env variable. e.g.
$ HAPPY=/full/path/to/happy ./configure
Hope that helps. Cheers,
Sebastian
Am Di., 30. März 2021 um 15:19 Uhr schrieb Simon Peyton Jones via ghc-devs <ghc-devs at haskell.org<mailto:ghc-devs at haskell.org>>:
What's the approved mechanism to install multiple versions of happy/alex etc? Eg I tried to build ghc-9.0 and got this:
checking for makeinfo... no
checking for python3... /usr/bin/python3
checking for ghc-pkg matching /opt/ghc/bin/ghc... /opt/ghc/bin/ghc-pkg
checking for happy... /home/simonpj/.cabal/bin/happy
checking for version of happy... 1.20.0
configure: error: Happy version 1.19 is required to compile GHC.
I so I have to
1. Install happy-1.19 without overwriting the installed happy-1.20
2. Tell configure to use happy-1.19
What's the best way to do those two things?
Thanks
Simon
_______________________________________________
ghc-devs mailing list
ghc-devs at haskell.org<mailto:ghc-devs at haskell.org>
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs<https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail.haskell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fghc-devs&data=04%7C01%7Csimonpj%40microsoft.com%7Cb7e07fe78b644f0181be08d8f37ec03c%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637527073028872686%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=t3W8rl8mUbjPmEXYzcjzDYm1IiSjCDZNb7ATmz%2Fil28%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20210330/5f56fb62/attachment.html>
More information about the ghc-devs
mailing list