Benjamin Bannier wrote:

> Hi,
> 
> > > > > > So is there any chance of fixing this?  The last time I tried to 
> > > > > > build
> > > > > > Vim on CentOS 5.8 was patchlevel 548, and it worked just fine with
> > > > > > Python (currently 2.4.3), so it's clear the patches to work with
> > > > > > Python since then have broken something.
> > > > >
> > > > > FWIW, I experience this same issue under Scientific Linux 5.3 (has
> > > > python-2.4.3).
> > > > >
> > > > > The first version which fails to build is vim-7.3.569, but that patch 
> > > > > is
> > > > too big for me to say why it is problematic.
> > > >
> > > > It seems to me there are a few Py_ssize_t undefined. Maybe just and
> > > > a "typedef" if it's not defined?
> > > 
> > > Bram? Are you aware of this issue? (Have you seen these messages?)
> > 
> > I read the error, but I don't know the proper solution. It appears to
> > build fine on most systems, thus it's either an issue with a specific
> > Python version or with that system.
> 
> The problem is that Py_ssize_t isn't defined prior to python-2.5,
> meaning that the current vim trunk cannot be build with e.g. python-2.4.

OK, that makes sense.

> Like lilydjwg suggested vim can provide its own Py_ssize_t in that case,
> see e.g. the attached patch with which I can build vim trunk. Any web
> search for Py_ssize_t turns up tons of similar solutions.
> 
> Maybe this or something simular could be included in the official version?

I'll have a look at it.

-- 
I noticed my daughter's Disney-net password on a sticky note:
"MickeyMinnieGoofyPluto".  I asked her why it was so long.
"Because they say it has to have at least four characters."

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