On Thu, March 17, 2011 2:17 pm, Benjamin R. Haskell wrote:
> 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

I doubt there is any Debian based distribution, that uses rpm ;)
Instead of the rpm command, use
dpkg -S $(which vim)


regards,
Christian

-- 
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