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.
You could try adding the option --with-python-config-dir=/your/python/config/dir
The path should point to the location of the file config.c of your Python installation.