Loading ...
Sorry, an error occurred while loading the content.

136577Unable to compile Vim with Python 3, Perl, and OLE support for Windows XP with MinGW

Expand Messages
  • cyboman
    Mar 1, 2013
    • 0 Attachment
      I tried to post similar question vim_dev group, but I think I posted in the wrong group. I apologize in advance if you have seen this question before. I'm going to try to post it here.

      I need to compile Vim with Python 3, Perl, and OLE and OLEsupport.

      Problem 1.
      I tried to compile with OLE support (all I have to do is to set OLE=yes) but for some reason it doesn't work. As far as I understand it links some dll's but In order for them to work I need to copy them into my C:\Program Files\Vim\vim73 directory, specifically libstdc++-6.dll and libgcc_s_dw2-1.dll. Interestingly enough the Unable to locate component doesn't come up when I run vim.exe, it only comes up when I run gvim.exe and when I compile with OLE=yes (i.e if it is compiles with OLE=no gvim.exe works fine). Is there a way to statically link those libraries without the need of copying them?

      Problem 2.
      Python 3 support doesn't work out right. I tried compiling with DYNAMIC_PYTHON3 set to yes as well as no. Whenever I try to run the following on the command line :python3 print(), whether it is (g)vim.exe crashes with a Runtime Library Error. If its vim.exe that crashed, then the command line contains the following message:
      Fatal Python error: take_gil: NULL tstate

      I'm attaching the screenshots of errors. If you have answers to any of those questions, any help is appreciated.

      You received this message from the "vim_use" 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_use" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Show all 4 messages in this topic