vim - Couldn't find package libncurses5-dev -
while installing vim 7.3 on ubuntu 10.04 lts, encounter error below
checking --with-tlib argument... empty: automatic terminal library selection
checking tgetent in -lncurses... no
checking tgetent in -ltermlib... no
checking tgetent in -ltermcap... no
checking tgetent in -lcurses... no no terminal library found
checking tgetent()... configure: error: not found!
need install terminal library; example ncurses. or specify name of library --with-tlib.
and googled , found need install libncurses-dev, typed
$ sudo apt-get install libncurses-dev
package libncurses-dev not available, referred by
another package. may mean package missing, has been
obsoleted, or available source
e: package libncurses-dev has no installation candidate
when change libncurses-dev libncurses5-dev, got error
$ sudo apt-get install libncurses5-dev
e: couldn't find package libncurses5-dev
so happened?
thank you.
certainly solved , not related initial problem might :)
check have libncurses5-dev package installed
sudo aptitude search %p libncurses
this should give like:
i libncurses5 - bibliothèques partagées pour l'utilisation d'un terminal
libncurses5-dev - developer's libraries ncurses
which here means package installed
same result with:
find /usr -name "libncurse*"
if not:
sudo apt-get install libncurses5-dev
configure vim maximum options:
./configure --with-features=huge --with-tlib=ncurses
Comments
Post a Comment