I am trying to compile vim from a source with a python interpreter on Ubuntu. I have installed the dependencies for vim, installed the python2.7-devel and python2.7-dbg packages on Ubuntu and will take a configuration step like this
./configure --enable-pythoninterp --with-python-config-dir=/usr/lib/python2.7/config
The config directory contains the config.c file. The execution step will fail.
... objects/py_config.o:(.data+0xcc): undefined reference to `initcStringIO' objects/py_config.o:(.data+0xd4): undefined reference to `initcPickle' objects/py_config.o:(.data+0xdc): undefined reference to `initzlib' collect2: ld returned 1 exit status make: *** [vim] Error 1
I tried stable builds, tuned settings, etc. But did not find a definitive answer. Also vim builds without a python interpreter.
Here is full
output - http://paste.pocoo.org/show/577749/
error - http://paste.pocoo.org/show/577752/
Makefile - http://paste.pocoo.org/show/577751/
Senthil kumaran
source share