Kiril
Kiril

Reputation: 2131

Compiling vim from source - fails to configure with libncurses6

I have recently started moving to vim as my main development environment, and I wanted to write some plugins for it in Python. I soon discovered that on my opensuse, vim is distributed without python support so I proceeded to get the source and try to compile it. Calling

./configure --enable-python3interp

returns an error that ncurse is not installed. Since on OpenSuse libncurses6 provides that, I proceeded to do this:

./configure --enable-python3interp --with-tlib=libncurses6

In this case I get the following error:

checking --with-tlib argument... libncurses6
checking for linking with libncurses6 library... configure: error: FAILED

I am not sure what to do. I have installed all ncurse related packages just in case, still no luck. My OS is OpenSuse 11.4 and I would prefer to use the python 3.x interpreter by default. Thanks in advance!

Upvotes: 1

Views: 2656

Answers (3)

jingchun.zhang
jingchun.zhang

Reputation: 81

yum install ncurses-devel

Try again ./configure

Upvotes: 0

Roland Puntaier
Roland Puntaier

Reputation: 3511

On mingw:

mingw-get install mingw32-libpdcurses
configure --with-tlib=pdcurses

Upvotes: 0

jamessan
jamessan

Reputation: 42667

According to the OpenSUSE build service, you should have the ncurses-devel package installed and run configure using --with-tlib=ncurses.

Upvotes: 1

Related Questions