Re: [GRASS-dev] Re: [GRASS-SVN] r38872 - grass/trunk

2009-08-27 Thread Martin Landa
Hi, 2009/8/26 Glynn Clements gl...@gclements.plus.com: [...] 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

Re: [GRASS-dev] Re: [GRASS-SVN] r38872 - grass/trunk

2009-08-27 Thread Hamish
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

Re: [GRASS-dev] Re: [GRASS-SVN] r38872 - grass/trunk

2009-08-27 Thread Glynn Clements
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

Re: [GRASS-dev] Re: [GRASS-SVN] r38872 - grass/trunk

2009-08-27 Thread Hamish
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 their

Re: [GRASS-dev] Re: [GRASS-SVN] r38872 - grass/trunk

2009-08-27 Thread Glynn Clements
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

Re: [GRASS-dev] Re: [GRASS-SVN] r38872 - grass/trunk

2009-08-27 Thread Hamish
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 0x0205 !defined(PY_SSIZE_T_MIN) +typedef int

[GRASS-dev] Re: [GRASS-SVN] r38872 - grass/trunk

2009-08-26 Thread Martin Landa
2009/8/26 svn_gr...@osgeo.org: 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

Re: [GRASS-dev] Re: [GRASS-SVN] r38872 - grass/trunk

2009-08-26 Thread Glynn Clements
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 fails with