我正在尝试从此页面之后的源代码构建 GHC 。安装依赖项时,我必须安装happy
和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
但是在运行时configure
我收到一条错误消息:
$ ./configure
...
checking for happy... no
checking for version of happy...
configure: error: Happy version 1.19.4 or later is required to compile GHC.
我在 Debian 上运行stretch
:
$ uname -a
Linux <host> 4.8.0-1-amd64 #1 SMP Debian 4.8.5-1 (2016-10-28) x86_64 GNU/Linux
谁能提出一个明显的步骤,我可以尝试解决这个问题?