Glynn wrote: > Try this: > > --- swig/include/python/common.i (revision 38884) > +++ swig/include/python/common.i (working > copy) > @@ -2,6 +2,13 @@ > #include <stdio.h> > #include <grass/gis.h> > #include <grass/raster.h> > + > +#if PY_VERSION_HEX < 0x02050000 && > !defined(PY_SSIZE_T_MIN) > +typedef int Py_ssize_t; > +# define PY_SSIZE_T_MAX INT_MAX > +# define PY_SSIZE_T_MIN INT_MIN > +#endif > + > %} > > %rename(my_def) def;
yes, with that patch a fresh build completes successfully. thanks, Hamish _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev