feedforward icon indicating copy to clipboard operation
feedforward copied to clipboard

fails to build on ubuntu 22.04 and debian 11 (ncurses failure)

Open cleary opened this issue 2 years ago • 2 comments

I'm currently getting the following issue on debian 11 and ubuntu 22.04:

"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."

This issue made an appearance in this debian bug from Sept 2020: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971187

Which wasn't resolved and subsequently resulted in the haskell-ncurses package being removed from debian altogether

cleary avatar Mar 07 '22 02:03 cleary

Yes this library is not maintained unfortunately, and developing/supporting feedforward isn't high on my priorities at the moment.

If you download the tarball from https://hackage.haskell.org/package/ncurses

and then delete the offending line, it compiles and works fine.

yaxu avatar Oct 04 '22 08:10 yaxu

Related to #22

ndr-brt avatar Oct 05 '22 15:10 ndr-brt