I just configure vim with the following command

./configure --prefix=/home/pengy/utility/linux --enable-pythoninterp --
with-python-config-dir=/home/pengy/utility/linux/opt/Python-2.6.2/lib/
python2.6/config

But it gives me the following warnings.

configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: /home/pengy/utility/linux/opt/
Python-    2.6.2/lib/python2.6/config

I then make and install. But I got vim without python support. What
configure options I should use?

$ vim --version
VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Sep 27 2009 20:38:01)
Compiled by [email protected]
Normal version with GTK2 GUI.  Features included (+) or not (-):
-arabic +autocmd +balloon_eval +browse +builtin_terms +byte_offset
+cindent
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info
+comments
+cryptv -cscope +cursorshape +dialog_con_gui +diff +digraphs +dnd -
ebcdic
-emacs_tags +eval +ex_extra +extra_search -farsi +file_in_path
+find_in_path
+float +folding -footer +fork() -gettext -hangul_input +iconv
+insert_expand
+jumplist -keymap -langmap +libcall +linebreak +lispindent +listcmds
+localmap
+menu +mksession +modify_fname +mouse +mouseshape -mouse_dec
+mouse_gpm
-mouse_jsbterm -mouse_netterm -mouse_sysmouse +mouse_xterm
+multi_byte
+multi_lang -mzscheme +netbeans_intg -osfiletype +path_extra -perl
+postscript
+printer -profile -python +quickfix +reltime -rightleft -ruby
+scrollbind
+signs +smartindent -sniff +statusline -sun_workshop +syntax
+tag_binary
+tag_old_static -tag_any_white -tcl +terminfo +termresponse
+textobjects +title
 +toolbar +user_commands +vertsplit +virtualedit +visual +visualextra
+viminfo
+vreplace +wildignore +wildmenu +windows +writebackup +X11 -xfontset
+xim
+xsmp_interact +xterm_clipboard -xterm_save
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/home/pengy/utility/linux/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -I/
home/pengy/utility/linux/include/gtk-2.0 -I/home/pengy/utility/linux/
lib/gtk-2.0/include -I/home/pengy/utility/linux//include/atk-1.0 -I/
home/pengy/utility/linux/include/cairo -I/home/pengy/utility/linux/
include/pango-1.0 -I/home/pengy/utility/linux/include/glib-2.0 -I/home/
pengy/utility/linux/lib/glib-2.0/include -I/home/pengy/utility/linux/
include/pixman-1 -I/home/pengy/utility/linux/include/freetype2 -I/home/
pengy/utility/linux/include -I/home/pengy/utility/linux//include -I/
usr/include/libpng12   -I/home/pengy/utility/linux/include  -I/home/
pengy/utility/linux/include  -I/usr/include64
Linking: gcc -L/home/pengy/utility/linux/lib -L/home/pengy/utility/
linux//lib   -L/usr/lib64   -L/home/pengy/utility/linux/lib -L/usr/
local/lib -o vim   -L/home/pengy/utility/linux/lib -L/home/pengy/
utility/linux//lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -
lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -
lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -lXt -
lm -lncurses -lselinux -lacl -lgpm


On Sep 27, 8:54 pm, bill lam <[email protected]> wrote:
> On Sun, 27 Sep 2009, Peng Yu wrote:
> > As instructed by the above webpage, I put the following code to
> > my .vimrc
>
> > python << EOL
>
> check whether python is actually support in your built
>
> vim --version |grep [+-]python
>
> --
> regards,
> ====================================================
> GPG key 1024D/4434BAB3 2008-08-24
> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to