Ken Takata wrote:

> I tried to use +python/dyn on Cygwin, but it did't work.
> It seems that Vim is going to load libpython2.6.dll.a instead of
> libpython2.6.dll.
> 
> $ ./configure --with-feature=huge --enable-pythoninterp=dynamic
> $ make
> $ ./vim
> :python print "hello"
> E370: Could not load library libpython2.6.dll.a
> E263: Sorry, this command is disabled, the Python library could not be loaded.
> 
> The filename of the shared library is taken from $(INSTSONAME) defined in
> /usr/lib/pythonX.X/Makefile on Linux, but $(INSTSONAME) doesn't point the
> filename of the DLL on Cygwin. I think $(DLLLIBRARY) should be used instead
> of $(INSTSONAME) on Cygwin.
> 
> Attached patch fixes this problem.

Thanks!  I'll try it out and include.


-- 
ARTHUR: Did you say shrubberies?
ROGER:  Yes.  Shrubberies are my trade.  I am a shrubber.  My name is Roger
        the Shrubber.  I arrange, design, and sell shrubberies.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
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

Raspunde prin e-mail lui