compiling vim with python support

I’ve also had “… and link flags for Python are sane… no: PYTHON DISABLED”

On Ubuntu 10.04 you have to install ‘python2.6-dev‘. The flags for ./configure are:

--enable-pythoninterp

--with-python-config-dir=/usr/lib/python2.6/config

Make sure you got a path to directory, which contains ‘config.c‘ file. Also no ‘/‘ at the end of the path! That caused me problems.

Leave a Comment