[GRASS-dev] Re: GRASS 7 Programmer's Manual online

Markus wrote:

cd swig/python
make
...
make[2]: Leaving directory
`/home/neteler/grass7_svn_head_progmanual/grass7/swig/python'
gcc
-I/home/neteler/grass7_svn_head_progmanual/grass7/dist.i686-pc-linux-gnu/include
-I/home/neteler/binaries/include -g -O2
-I/home/neteler/binaries/include
-fPIC -DPACKAGE=\""grasslibs"\"
-I/home/neteler/grass7_svn_head_progmanual/grass7/dist.i686-pc-linux-gnu/include
-o OBJ.i686-pc-linux-gnu/utils_wrap.o -c utils_wrap.c
utils_wrap.c:124:20: error: Python.h: No such file or
directory
utils_wrap.c:730: error: syntax error before '*' token
...

Situation:
- on grass.osgeo.org is a Python 2.4 installation which
lacks python-config
- specifying
    --with-python
--with-python-includes=/usr/include/python2.4
  does not seem to have any effect.

note that -I/usr/include/python2.4 does not make it into above gcc command.
('./configure --help' does not mention --with-python-includes; AFAICT it
is ignored because it doesn't exist)

Hamish