Use the Forum's "Search" feature to look for ncurses. You will get multiple hits. Read the one with the title
Be sure your Linux can compile source code
So check to make sure that you have installed your linux distribution's "software development environment", and if you have already done that, verify that ncurses has been installed--if it hasn't been installed, find the package that contains ncurses and install it.
Thanks for reply,
I have installed succesfully ncurses 5.7 but "nrnivmodl" still not works, it reports yet the same error.
Maybe i have to install it in the neuron folder?
In the process of writing this I fixed the problem by installing readline-devel in synaptics but this problem occupied me for a while and solution not obvious so I will post anyway in case someone else has this problem.
Thanks for posting that. Sooner or later, everyone who compiles from source code under Linux runs into similar issues. The first time around it can really be baffling, especially when the missing item is part of a library with a nontrivially different name. And, for various reasons, library names do change from time to time. "devel" in a library name is often a clue that it contains many things, perhaps even the missing object that one seeks.