From a stock/standard/typical/desktop install of Linux, it seems these are required in order to build MySQL/MariaDb/Percona forks:
ncurses (Thanks Justin!)
Do apt-get, yum, rpm, emerge, or whatever to get them before doing configure, make and such.
I am missing one, and I think it has “curse” or something like that in its name. Will update this post when I find that out.