tgetent() not found while compiling vim
This is because the system lacks the ncurses library, which can be resolved by installing libncurses5-dev.
sudo apt-get install libncurses5-dev
I solved it through this article. enter link description here
I had the exact same issue (recompiling vim to use YCM), and I fixed it by removing src/auto/config.cache
(in the vim tree) and re-running ./configure
. It seems an outdated configure
cache was still there.