When configure asks for "name" it means (lib)name-
devel.
So you will have to install one of these :
libtermcap-devel , ncurses-devel , libncurses5-dev
... all depending on which Linux, you have :
http://www.linuxquestions.org/linux/...Ask_a_Question
http://linuxsilo.net/docs/smart-questions_en.html
But anyway : You should really use your package manager
to install 'gdb'. That is the correct Linux way to do it.
.....