Skip to main content
added 9 characters in body
Source Link
Yohanna
  • 141
  • 6

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 )

  1. I first installed Python locally by downloading the tgz file and decompressing it in $HOME

  2. Then I cd to 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:

  1. ./configure --prefix=$HOME --with-features=huge --enable-pythoninterp --without-x --with-python-config-dir=/home/<user>/python/lib/python2.7/config

  2. make && make install

VIM so far still shows -python and echo has('python') returns 0

The <vim-src>/src/auto/config.log file shows that it's trying to use the system python, i.e.,:

configure:5486: checking for python
configure:5504: found /usr/bin/python 
.
.
configure:5740: result: no: PYTHON DISABLED

but fails and end up not usingadding python support!.

Am I doing something wrong here?

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 )

  1. I first installed Python locally by downloading the tgz file and decompressing it in $HOME

  2. Then I cd to 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:

  1. ./configure --prefix=$HOME --with-features=huge --enable-pythoninterp --without-x --with-python-config-dir=/home/<user>/python/lib/python2.7/config

  2. make && make install

VIM so far still shows -python and echo has('python') returns 0

The /src/auto/config.log file shows that it's trying to use the system python, i.e.,

configure:5486: checking for python
configure:5504: found /usr/bin/python 
.
.
configure:5740: result: no: PYTHON DISABLED

but fails and end up not using python!.

Am I doing something wrong here?

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 )

  1. I first installed Python locally by downloading the tgz file and decompressing it in $HOME

  2. Then I cd to 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:

  1. ./configure --prefix=$HOME --with-features=huge --enable-pythoninterp --without-x --with-python-config-dir=/home/<user>/python/lib/python2.7/config

  2. make && make install

VIM so far still shows -python and echo has('python') returns 0

The <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?

added 295 characters in body
Source Link
Yohanna
  • 141
  • 6

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 tgz file and decompressing it in $HOME

Then I cd to that directory and ran: ./configure --prefix=$HOME/python && make && make install

  1. I first installed Python locally by downloading the tgz file and decompressing it in $HOME

  2. Then I cd to 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

  1. ./configure --prefix=$HOME --with-features=huge --enable-pythoninterp --without-x --with-python-config-dir=/home/<user>/python/lib/python2.7/config

  2. make && make install

VIM so far still shows -python and echo has('python') returns 0

The /src/auto/config.log file shows that it's trying to use the system python, i.e.,

configure:5486: checking for python
configure:5504: found /usr/bin/python 
.
.
configure:5740: result: no: PYTHON DISABLED

but fails and end up not using python!.

Am I doing something wrong here?

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 tgz file and decompressing it in $HOME

Then I cd to 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 -python and echo has('python') returns 0

Am I doing something wrong here?

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 )

  1. I first installed Python locally by downloading the tgz file and decompressing it in $HOME

  2. Then I cd to 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:

  1. ./configure --prefix=$HOME --with-features=huge --enable-pythoninterp --without-x --with-python-config-dir=/home/<user>/python/lib/python2.7/config

  2. make && make install

VIM so far still shows -python and echo has('python') returns 0

The /src/auto/config.log file shows that it's trying to use the system python, i.e.,

configure:5486: checking for python
configure:5504: found /usr/bin/python 
.
.
configure:5740: result: no: PYTHON DISABLED

but fails and end up not using python!.

Am I doing something wrong here?

Source Link
Yohanna
  • 141
  • 6

Installing VIM with Python support locally without sudo

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 tgz file and decompressing it in $HOME

Then I cd to 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 -python and echo has('python') returns 0

Am I doing something wrong here?