[GRASS-dev] build swig/python support for GRASS as an automatic process when compiling GRASS

Yann Chemin ychemin at gmail.com
Thu Oct 12 10:36:16 EDT 2006


Hi all,

INSTALL SWIG
in Mandriva2007.1:
urpmi swig
urpmi python-devel (not sure if it is necessary on second thought)

CHANGE MAKEFILES (automatic build with GRASS main)
go to your grasscvsroot:
grass/Makefile: add swig as a subdir

go to your swig dir
grass/swig/Makefile:
SUBDIR = python
default: subdir (remove the echo statement)

go to your python dir
grass/swig/python/Makefile:
SUBDIR = interfaces

et voila !
You should be able to build swig/python support automatically from now on...

yann




More information about the grass-dev mailing list