On Thu, 17 Mar 2011, Erik Christiansen wrote:

[...]

OK, a quick check to see that I have the build-essential and linux-headers-$(uname -r) packages on this box, fetch the 7.3 source, and "sudo make":

You shouldn't need `sudo` for the `make` portion. Just if you then `make install` to directories that you don't own.


checking for tgetent in -lncurses... no
checking for tgetent in -ltermlib... no
checking for tgetent in -ltermcap... no
checking for tgetent in -lcurses... no
no terminal library found
checking for tgetent()... configure: error: NOT FOUND!
     You need to install a terminal library; for example ncurses.

Fine, let's do:

$ sudo apt-get install ncurses
...

Partly from the FAQ[1]...  save yourself a bunch of trouble and do:

$ rpm -qf $(which vim)
$ sudo apt-get build-dep [whatever the prior command reported]

(or combined:)
$ rpm -qf --qf='%{NAME}\n' $(which vim) | xargs sudo apt-get build-dep

That will install all the prereqs you'll need to build the package from source. (at least in the way your distro configures it)

--
Best,
Ben

[1] http://vimhelp.appspot.com/vim_faq.txt.html#faq-35.10 (jump down to "1) On Debian based distribution...")

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to