So, there are a bunch of files containing the instruction:
#include <curses.h>
that I replaced with
#include <cursesw.h>
but unsuccessfully:
fatal error: cursesw.h: no such file or directory
These are my settings:
PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
CPPFLAGS="-I/usr/local/include/ncursesw" LIBS="-lncursesw" CC="gcc -march=i486 -mtune=i686 -Os -pipe -fomit-frame-pointer"
CXX="g++ -march=i486 -mtune=i686 -Os -pipe -fomit-frame-pointer"
make
Where am I mistaken?