Glynn wrote:
> Try this:
>
> --- swig/include/python/common.i(revision 38884)
> +++ swig/include/python/common.i(working
> copy)
> @@ -2,6 +2,13 @@
> #include
> #include
> #include
> +
> +#if PY_VERSION_HEX < 0x0205 &&
> !defined(PY_SSIZE_T_MIN)
> +typedef int Py_ssize_t;
> +# de
Hamish wrote:
> FWIW the error is as so:
>
> [...]
> gcc -I/usr/local/src/grass/svn/grass65/dist.i686-pc-linux-gnu/include -ggdb
> -march=pentium4 -Wall -Werror-implicit-function-declaration-fPIC
> -DPACKAGE=\""grasslibs"\" -fPIC -I/usr/include/python2.4
> -I/usr/include/python2.4-
> Hamish wrote:
> > in related issues swig/python/ still fails to build due to
> > too-old(?) swig ver 1.3.29, [...]
Glynn:
> AFAIK, that version with SWIG will work with older versions of Python.
> The core problem is that your distro ships a version of of SWIG which
> isn't compatible with thei
Hamish wrote:
> in related issues swig/python/ still fails to build due to too-old(?)
> swig ver 1.3.29, but the ./configure check just checks for the presence
> of /usr/bin/swig; it doesn't test if that contains what we need.
> It would be nice if it could be made to work with older versions of
Glynn:
> I've committed r38878, which restores the configure checks, and adds
> adds workarounds for the issues with GEOS 2.x. Someone needs to check
> that these don't break 3.x.
great, I can report that 6.5svn now ./configures and builds --with-geos
ver 2.2.3 successfully, and that 'v.select --
Hi,
2009/8/26 Glynn Clements :
[...]
> I've committed r38878, which restores the configure checks, and adds
> adds workarounds for the issues with GEOS 2.x. Someone needs to check
> that these don't break 3.x.
thanks, backported to devbr6 in r38879.
Martin
--
Martin Landa * http://gama.fsv.
Martin Landa wrote:
> > Author: glynn
> > Date: 2009-08-26 08:41:06 -0400 (Wed, 26 Aug 2009)
> > New Revision: 38872
> >
> > Modified:
> > grass/trunk/configure
> > grass/trunk/configure.in
> > Log:
> > Revert r38867 (bogus GEOM check)
>
> can you explain why it's bogus. Now configuration fa
2009/8/26 :
> Author: glynn
> Date: 2009-08-26 08:41:06 -0400 (Wed, 26 Aug 2009)
> New Revision: 38872
>
> Modified:
> grass/trunk/configure
> grass/trunk/configure.in
> Log:
> Revert r38867 (bogus GEOM check)
can you explain why it's bogus. Now configuration fails with
checking for geos-con