I am trying to build vim in my user dir after recently upgraded to Fedora 23
I have ncurses and ncurses-devel
[root@statquant-laptop lib]# dnf instal
I ran into the same issue on Fedora23. Here is my solution:
ncurses-devel
I checked the config.log and found that gcc complained the lack of '-fPIC'