In an attempt to build octave-2.1.57 under msys/mingw, I find all the above and their include files are missing.  The supplied version of readline is also not sufficiently up to date.
I tried to start at the difficult end by building readline-5.0 and ncurses ( yes, I had seen previous correspondence both here and elsewhere - it is usually worth trying again because developers respind to these problems!).  Both bombed out; mainly for lack of sgtty.h and ioctl.h
PDcurses satisfies the need for libcurses and libterminfo but not for libncurses.
Can somebody who has been down this road already please point out where to obtain these libraries or how to kluge up others?
Paul T