Hi! I'm on Linux Mint, trying to install feedforward but when doing 'cabal install' this error message appears:
Wrote tarball sdist to
/home/matt/.cabal/bin/feedforward/dist-newstyle/sdist/feedforward-0.0.1.tar.gz
Resolving dependencies...
Build profile: -w ghc-8.8.4 -O1
In order, the following will be built (use -v for more details):
- ncurses-0.2.16 (lib:ncurses) (requires build)
- feedforward-0.0.1 (exe:feedforward) (requires build)
Starting ncurses-0.2.16 (all, legacy fallback)
Building ncurses-0.2.16 (all, legacy fallback)
Failed to build ncurses-0.2.16.
Build log (
/home/matt/.cabal/logs/ghc-8.8.4/ncurses-0.2.16-1a8c45233a5b9f6698662b42873ee46d4d313f6a613a0fe33cd5b548a30be31b.log
):
Configuring ncurses-0.2.16...
Preprocessing library for ncurses-0.2.16..
c2hs: C header contains errors:
dist/build/UI/NCurses/Enums.chs.h:140: (column 25) [ERROR] >>> Unknown identifier!
Cannot find a definition for `KEY_EVENT' in the header file.
cabal: Failed to build ncurses-0.2.16 (which is required by exe:feedforward
from feedforward-0.0.1). See the build log above for details.
Does anybody know what's the issue here? Thanks in advance!