You are not logged in.

#1 2011-07-05 03:00:44

yasar11732
Member
Registered: 2010-11-29
Posts: 127

[SOLVED]I can't configure vim with python enabled

[I am not trying to make a PKGBUILD, or abs build but this thread seemed most appropriate place to post this. Feel free to move topic if this is not right place.]

Hi,

I want to compile vim with python interpreter enabled. I downloaded sources from ftp://ftp.gr.vim.org/pub/vim/unix/vim-7.3.tar.bz2 extracted them, and go to extracted directories root,

./configure --enable-python3interp --prefix=/usr

However, I get:

/* Some stuff was here */
checking --enable-python3interp argument... yes
checking for python3... /usr/bin/python3
checking Python version... 3.2
checking Python's install prefix... /usr
checking Python's execution prefix... /usr
checking Python's configuration directory...
can't find it!
/* some stuff goes here*/

and I thought maybe it was okey to contunie, so I,

make

and then

make DESTDIR=/home/yasar/vim install

then I go to vim which I installed and tried python but didn't work. I am really newbie on these compiling things, so any help would be appriciated.

Edit: After reading my own post, I realized it had lots of spelling mistakes, sorry about that, I am a little sleepy right now...

Last edited by yasar11732 (2011-07-05 03:56:40)


Yo Dawg, I heard you likes patches, so I have created a patch for your patch, so you can patch your patches before you patch.

Offline

#2 2011-07-05 03:26:26

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: [SOLVED]I can't configure vim with python enabled

1. Easiest way -- install gvim (even if you just want to use vim), as it has python enabled
or
2. Use ABS and edit the PKGBUILD with the correct compilation flags

Scott

Offline

#3 2011-07-05 03:28:59

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]I can't configure vim with python enabled

http://aur.archlinux.org/packages.php?ID=33422
You're not the only one with the problem.

http://stackoverflow.com/questions/1386 … via-python says you might need to specify --with-python-config-dir as well.

Offline

#4 2011-07-05 03:56:17

yasar11732
Member
Registered: 2010-11-29
Posts: 127

Re: [SOLVED]I can't configure vim with python enabled

Thanks to you both. I am marking this solved.


Yo Dawg, I heard you likes patches, so I have created a patch for your patch, so you can patch your patches before you patch.

Offline

Board footer

Powered by FluxBB