Daniel Hast wrote:
> I checked, and if_python.c includes Python.h, which includes
> object.h. The include statements aren't inside any
> conditional blocks, either. I edited the make file to add
> PYTHON=c:\PROGRA~1\Python30, which is my Python directory. It
> seems like object.h is running, as far as I can tell.


I haven't built Vim for a while. On the last occasion (Windows), I set
the following environment variables:

set GUI=yes
set DYNAMIC_PYTHON=yes
set PYTHON=C:/Python25
set PYTHON_VER=25

You could try copying your Python30 to C:\ although it's hard to see why
it should matter (given that your PYTHON path above has no embedded
space).

I would experiment with object.h. Perhaps rename it (to force a compile
error), or put '#error Hello' in first line and see what the compiler
says.

A very quick look at Vim's if_python.c makes me think that Python's
object.h needs to define:
  PyObject_HEAD_INIT()

which should define ob_type. Hmmm, I have to go now, but a really quick
look at object.h makes me wonder if Py_TRACE_REFS is defined on your
system (I guess that it should NOT be). Or, maybe Python 3.0 has
different stuff in object.h?

John




--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to