Closed andreasabel closed 4 years ago
The installation recipe given in the README fails in the installation step:
$ cabal configure && cabal build && cabal install ... Building executable 'happy' for happy-1.19.12.. [15 of 19] Compiling Paths_happy ( dist/build/happy/autogen/Paths_happy.hs, dist/build/happy/happy-tmp/Paths_happy.o ) Linking dist/build/happy/happy ... clang: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument] cabal: filepath wildcard 'HappyTemplate' does not match any files. Failed to install happy-1.19.12
It seems that the .cabal file lists data-files that do not exist:
.cabal
data-files
... data-files: HappyTemplate HappyTemplate-arrays ...
Maybe just the install instructions are outdated? How to install happy from the git version?
To answer my own question:
make sdist && cabal install
seems to do the job.
The installation recipe given in the README fails in the installation step:
It seems that the
.cabal
file listsdata-files
that do not exist:Maybe just the install instructions are outdated? How to install happy from the git version?