[GRASS-dev] SWIG-Python lacking from install sequence in main Makefile

Markus Neteler neteler at osgeo.org
Sun Jul 19 12:25:36 EDT 2009


On Sat, Jul 18, 2009 at 8:14 AM, Hamish<hamish_b at yahoo.com> wrote:
>
> Glynn wrote:
>> 6.x still doesn't build the swig directory, but 7.0 does.
>
>
> to remind from an earlier thread:
>
> building relbr6.4 swig/python/ from Debian/Etch (swig version 1.3.29-2.1)
> fails with:
>
> [...]
> utils_wrap.c: In function 'pyseq_to_ptr':
> utils_wrap.c:2495: error: 'Py_ssize_t' undeclared (first use in this function)
> utils_wrap.c:2495: error: (Each undeclared identifier is reported only once
> utils_wrap.c:2495: error: for each function it appears in.)
> utils_wrap.c:2495: error: expected ';' before 'len'
> utils_wrap.c:2522: error: 'len' undeclared (first use in this function)
> utils_wrap.c: In function 'pyobj_to_ptr':
> utils_wrap.c:2570: error: 'Py_ssize_t' undeclared (first use in this function)
> [...]
>
See
http://n2.nabble.com/grass7-build-failing-for-swig-python-td3074306.html

and
http://www.mail-archive.com/bug-gnubg@gnu.org/msg03894.html
http://www.mail-archive.com/bug-gnubg@gnu.org/msg03895.html

So, specific to the version which you use.

Markus


More information about the grass-dev mailing list