Additionally I needed:
in common/ustringutil.cpp l. 1365/1366:
const_cast <unsigned char>
Wasn’t aware of the ncurses dependency. Wanted to remove it from my system to test out, but took out several more dependencies.
The following 4 packages are going to be REMOVED: libxml2-devel ncurses-devel php5-devel readline-devel
We are making libicu a hard requirement now, so in the future this error message you experienced should be gone and instead configure will complain about missing libicu-devel.
Thanks for reminding me of this problem.