Reputation: 752
There are several posts on the internet about this, but I haven't found a suitable solution for my case.
This is what I've tried so far:
Download vim
./configure
gives
You need to install a terminal library; for example ncurses.
Or specify the name of the library with --with-tlib.
make
I run intocollect2: ld returned 1 exit status
gnatlink: error when calling /usr/bin/gcc
gnatmake: *** link failed.
/usr/lib64/libncurses.so
/usr/lib64/libncursesw.so
so I've tried to play around with LD_LIBRARY_PATH and LIBRARY_PATH, but to no avail.
Any suggestion ?
Upvotes: 2
Views: 3502
Reputation: 1857
Just thought I'd mention an alternative solution.
Neovim provides pre-built packages which you could simply download and run. Follow instructions from their GitHub releases page.
Now, Neovim is a vim-fork, so you wouldn't be getting the "original" vim. But, they are very similar, and the install process is a lot simpler.
Upvotes: 0
Reputation: 752
As guessed by Kaz in the comment above, ncurses does have the --without-ada
option in its ./configure
to disable the Ada build. This allowed me to install ncurses and consequently vim !
Upvotes: 2