After reading short guide and this question I figure out how to configure Vim:
./configure --with-features=huge --enable-rubyinterp --enable-pythoninterp
--enable-perlinterp --enable-gui=gtk2 --enable-cscope --prefix=/usr
--with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu/
And now make && sudo make install. Here is the log of ./configure command. But the problem is here that after this build I didn't get python support. Below I paste two lines of the list of a features what I see when launch Vim and typing ":version"
+cindent -ebcdic +jumplist -mouse_jsbterm -python -tag_any_white +windows
+clientserver -emacs_tags -keymap -mouse_netterm -python3
"-" sign means the disabled features, to my regret the python one of them. Am I miss something? Thanks in advance!
vim --version | grep python. You are looking for a+pythonor-python(no 3)+cryptv +linebreak -python +viminfo -cscope +lispindent -python3 +vreplace