I am trying to build a GHC from the source following this page . When installing the dependencies, I had to install happyand alex:
$ cabal install alex happy
Resolving dependencies...
Configuring alex-3.2.1...
Configuring happy-1.19.5...
Building happy-1.19.5...
Building alex-3.2.1...
Installed alex-3.2.1
Installed happy-1.19.5
but at startup configure, an error message appears:
$ ./configure
...
checking for happy... no
checking for version of happy...
configure: error: Happy version 1.19.4 or later is required to compile GHC.
I am running Debian stretch:
$ uname -a
Linux <host> 4.8.0-1-amd64
Can someone suggest an obvious step that I could try to solve?
source
share