I'm trying to install VIM with Python support on Linux without sudo, but for some reason VIM always gets installed without python ( -python in vim --version )
I first installed Python locally by downloading the
tgzfile and decompressing it in
cdto that directory and ran:
./configure --prefix=$HOME/python && make && make install
I already got VIM installed without Python support, so I just went to the VIM source directory and ran the following:
./configure --prefix=$HOME --with-features=huge --enable-pythoninterp --without-x --with-python-config-dir=/home/<user>/python/lib/python2.7/config
make && make install
VIM so far still shows
echo has('python') returns
<vim-src>/src/auto/config.log file shows that it's trying to use the system python:
configure:5486: checking for python configure:5504: found /usr/bin/python . . configure:5740: result: no: PYTHON DISABLED
but fails and end up not adding python support!.
Am I doing something wrong here?