On Monday, 18 April 2016 02:58:49 UTC-7, Christian Brabandt  wrote:
> Hi Marslo!
> 
> On Mo, 18 Apr 2016, Marslo Jiao wrote:
> 
> > Sorry for bother you again.
> > I found the python plugin dosen't work somehow after I using the 
> > "CROSS_COMPILE=x86_64-w64-mingw32- ARCH=x86-6".
> > 
> > Here what I did:
> > - install python 2.7 64-bit installer
> > - Install python 3.5 64-bit installer
> > - Build command (for example: with gui): 
> >     - Clean: $ make clean; make distclean; git clean -dfx *; git checkout 
> > -- *
> >     - Build: $ make -B -f Make_cyg.mak CROSS_COMPILE=x86_64-w64-mingw32- 
> > ARCH=x86-64 PYTHON=/cygdrive/c/Marslo/MyProgramFiles/Python27 
> > DYNAMIC_PYTHON=yes PYTHON_VER=27 
> > PYTHON3=/cygdrive/c/Marslo/MyProgramFiles/Python35 DYNAMIC_PYTHON3=yes 
> > PYTHON3_VER=35 RUBY=/cygdrive/c/Marslo/MyProgramFiles/Ruby23-x64 
> > FEATURES=huge IME=yes GIME=yes MBYTE=yes CSCOPE=yes USERNAME=Marslo.Jiao 
> > USERDOMAIN=China GUI=yes
> > 
> > 
> > After built succeed, here what I got:
> > - build succeed
> > - :version (full version information has been attached)
> >   ...
> >   MS-Windows 64-bit GUI Version
> >   Included patches: 1-1749
> >   ...
> >   Hug version with GUI. Features included (+) or not (-):
> >   ... +python/dyn ...
> >   ... +python3/dyn ...
> >   ...
> >   Compilation: x86_64-w64-mingw32-gcc -Iproto -DWIN32 -DWINVER=0x0501 
> > -D_WIN32_WINNT=0x0501 -DHAVE_PATHDEF -DFEAT_huge -DMS_WIN64 -DHAVE_GETTEXT 
> > -DHAVE_LOCALE_H -DDYNAMIC_GETTEXT -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG 
> > -DFEAT_JOB_CHANNEL -DFEAT_GUI_W32 -DFEAT_CLIPBOARD -DFEAT_MBYTE 
> > -DFEAT_MBYTE_IME -DDYNAMIC_IME -DDYNAMIC_ICONV -pipe -march=x86-64 -Wall 
> > -DFEAT_PYTHON -DDYNAMIC_PYTHON -DDYNAMIC_PYTHON_DLL="python27.dll" 
> > -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL="python35.dll" 
> > -DFEAT_XPM_W32 -I xpm/x64/include -I xpm/x64/../include -O3 
> > -fomit-frame-pointer -freg-struct-return -s
> >   Linking: x86_64-w64-mingw32-gcc -Iproto -DWIN32 -DWINVER=0x0501 
> > -D_WIN32_WINNT=0x0501 -DHAVE_PATHDEF -DFEAT_huge -DMS_WIN64 -DHAVE_GETTEXT 
> > -DHAVE_LOCALE_H -DDYNAMIC_GETTEXT -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG 
> > -DFEAT_JOB_CHANNEL -DFEAT_GUI_W32 -DFEAT_CLIPBOARD -DFEAT_MBYTE 
> > -DFEAT_MBYTE_IME -DDYNAMIC_IME -DDYNAMIC_ICONV -pipe -march=x86-64 -Wall 
> > -DFEAT_PYTHON -DDYNAMIC_PYTHON -DDYNAMIC_PYTHON_DLL="python27.dll" 
> > -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL="python35.dll" 
> > -DFEAT_XPM_W32 -I xpm/x64/include -I xpm/x64/../include -O3 
> > -fomit-frame-pointer -freg-struct-return -s -mwindows -o gvim.exe 
> > -lkernel32 -luser32 -lgdi32 -ladvapi32 -lcomdlg32 -lcomctl32 -lversion 
> > -lwsock32 -Lxpm/x64/lib -lXpm -lole32 -luuid
> >     
> > - :echo has('python')
> >   1
> > - :python print "abc"
> >   E887: Sorry, this command is disabled, the Python's site module could not 
> > be loaded
> 
> python 2.7.11 has a bug, that needs a workaround on Windows.
> https://github.com/vim/vim-win32-installer/blob/master/appveyor.bat#L89-L91
> 
> Best,
> Christian 
> -- 
> C: Ich möchte nicht länger "Junge" genannt werden. Ich finde den Ausdruck
>    demütigend und sexistisch.
> H: Wie möchtest Du dann genannt werden?
> C: Genetisch bevorzugter Jugendlicher.
>               -- Bill Watterson (aus "Calvin and Hobbes")

Yes. I saw this issue just now. Thanks very much for your help!
I saw the discussion at here: http://t.cn/RqoQdG4, and the python issue report 
at: http://t.cn/RqoQJHv

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui