On Sat, Aug 20, 2016 at 01:44:05PM -0700, Adam Russell wrote:
> i compile vim from source on a daily basis, lately i encounter an issue, when 
> vim is not compiled with python support.
> 
> $ vim --version
> ...
> +python/dyn
> +python3/dyn
> ...

Is this your self-compiled vim you say isn't compiled with Python
support???

> The build process i follow, is this one 
> https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source
> 
> i do set python configuration directory for both (python2.7 and python) like 
> so:
> 
> $ ./configure --with-features=huge           \  
>               --enable-multibyte             \
>               --enable-rubyinterp             \
>               --enable-pythoninterp            \ 
>               
> --with-python-config-dir=/usr/lib/python2.7/config-i386-linux-gnu \
>               --enable-python3interp             \
>               
> --with-python3-config-dir=/usr/lib/python3.5/config-3.5m-i386-linux-gnu       
>       \
>               --enable-perlinterp             \
>               --enable-luainterp             \
>               --enable-gui=gtk2  \
>               --enable-cscope \
>               --prefix=/usr

Do the directories you mention here actually exist?  E.g. my laptop
doesn't have a /usr/lib/python2.7/config-i386-linux-gnu because it's a
64-bit machine and the Pthon config directory is called
/usr/lib/python2.7/config-x86_64-linux-gnu

> i'am using linux, python-dev and python3-dev are installed, 
> 
> :echo has('python') return 0


Marius Gedminas
-- 
The last good thing written in C was Franz Schubert's Symphony #9.
        -- Erwin Dietrich

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: PGP signature

Raspunde prin e-mail lui