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

Markus Neteler neteler at osgeo.org
Sun May 24 10:17:41 EDT 2009


On Sat, May 23, 2009 at 8:05 PM, Markus Neteler <neteler at osgeo.org> wrote:
...
> Todo: understand why the doxygen links aren't generated for
> SWIG-Python:
> http://download.osgeo.org/grass/grass7_progman/swig/index.html

Getting closer...:

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.

Could configure be configured to work without python-config as well or
do I have to fake (how?) a python-config script?

Markus


More information about the grass-dev mailing list