Hi,
 I wanted to enable the feature of Python in VIM, so I compiled it with the
option of
'*--enable-pythoninterp=yes*' from the source code, but it didn't work.
Please help to have a look.

 My env is *Debian Squeeze* (the testing version) on x86,  and all packages
in the os have been updated.
*

Bellow were the details:*

1. remove old vi/vim packages from the system:
$ sudo apt-get remove vi  vim

2 download the latest src-vim:
$ hg clone https://vim.googlecode.com/hg/

3 configure & make
$ ./configure  * --enable-pythoninterp=yes* --enable-cscope
--enable-multibyte --with-features=huge --enable-fontset

$ make && make install

Everything goes well,* No errors *were thrown out.

4. testing:
$ vim --version |grep python
+path_extra -perl +persistent_undo +postscript +printer +profile *-python
-python3* +quickfix +reltime +rightleft -ruby +scrollbind +signs
+smartindent
*
The feature of 'python' was still disabled!*

5.
I wrote my vimrc files in Python, and some error messages were thrown out:
$ vim
E319: Sorry, the command is not available in this version: python << EOF

-the
end------------------------------------------------------------------------------------------------------------------------------

So, how can I compile a VIM package with the feature of Python, anything I
did above was wrong?

Much thanks,
Delian

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to