You are not logged in.

#1 2005-01-28 22:19:25

flex_strongo
Member
Registered: 2003-12-02
Posts: 55

Vim +python

Hi guys, i'm trying to figure out how to configure vim to use the python interface.  It doesn't say anything about it during a ./configure --help and I haven't been able to find much on-line about it.  apparently there's supposed to be a +python option but I don't know how to enable it. Thanks!

Offline

#2 2005-01-28 22:28:43

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Vim +python

./configure --enable-pythoninterp

there's also --enable-rubyinterp and --enable-perlinterp

also, the vim-custom package in my repo (below) has python enabled

Offline

#3 2005-01-28 22:31:21

flex_strongo
Member
Registered: 2003-12-02
Posts: 55

Re: Vim +python

I tried the configure --enable-pythoninterp, but when I ran a vi :version. It sill appeared as -python instead of +python

Offline

#4 2005-01-28 22:43:20

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Vim +python

flex_strongo wrote:

I tried the configure --enable-pythoninterp, but when I ran a vi :version. It sill appeared as -python instead of +python

stupid question, but do you have python installed?

also, did you make a pacman package?  if you did, I would suggest removing both vim and gvim from extra and then building and installing... they kinda share files in a weird way...

try grabbing the package from my repo and see if that works for you...

i seem to recall having this same problem... it had to do with the way it was built... like if you built it with a gui, don't run vim... dunno exactly

Offline

#5 2005-01-28 22:48:19

flex_strongo
Member
Registered: 2003-12-02
Posts: 55

Re: Vim +python

Yeah, I have python installed.  I wasn't aware that gvim would conflict in a way.  Thanks, I'll give that a shot.  and if it doesn't work, I'm glad you build a package already!

Offline

#6 2005-01-28 22:50:10

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Vim +python

flex_strongo wrote:

Yeah, I have python installed.  I wasn't aware that gvim would conflict in a way.  Thanks, I'll give that a shot.  and if it doesn't work, I'm glad you build a package already!

it's not a conflict... just a way the build works... like the Makefile for vim can output like 5 or 6 differently named executables...

Offline

#7 2005-01-28 22:53:25

flex_strongo
Member
Registered: 2003-12-02
Posts: 55

Re: Vim +python

something's wrong with your repo.  Says that the vim package isn't found:
:: Retrieving packages from phrakture...
redirection not supported

failed downloading /vim-custom-6.3-1.pkg.tar.gz from phrakture.freelinuxhost.com: HTTP/1.1 302 Found

error: failed to retrieve some files from phrakture

Offline

#8 2005-01-28 22:57:54

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Vim +python

crap!... eh i'll have to check it later on... might just be the host...

can you get the PKGBUILD?

http://phrakture.freelinuxhost.com/pkgb … m/PKGBUILD

Offline

#9 2005-01-28 22:57:57

flex_strongo
Member
Registered: 2003-12-02
Posts: 55

Re: Vim +python

Anyway, it build just fine after I removed gvim, thanks!

Offline

#10 2005-01-29 01:36:32

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Vim +python

what benefits does this option offer? does the vim/gvim in the official repo have this?

i currently use gvim, mainly for python and i'm wondering if i would be benefited from updating.

Offline

#11 2005-01-29 16:41:41

flex_strongo
Member
Registered: 2003-12-02
Posts: 55

Re: Vim +python

I did it so I could mostly use this:

http://www.vim.org/scripts/script.php?script_id=1074

Offline

#12 2005-01-31 16:12:48

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Vim +python

yes! calltips are the greatest thing ever for python!

Offline

Board footer

Powered by FluxBB