On Wed, Mar 3, 2010 at 12:58 PM, Pietro Zambelli <peter.z...@gmail.com> wrote: > Hi all! > > I try to compile grass7 from svn I reach this error: > > GRASS GIS compilation log > ------------------------- > Started compilation: Wed Mar 3 12:34:18 CET 2010 > -- > Errors in: > /home/pietro/builds/grass70/src/grass70/lib/python > /home/pietro/builds/grass70/src/grass70/scripts/d.vect.thematic > /home/pietro/builds/grass70/src/grass70/scripts/r.in.srtm > /home/pietro/builds/grass70/src/grass70/scripts/v.db.update > -- > In case of errors please change into the directory with error and run 'make'. > If you get multiple errors, you need to deal with them in the order they > appear in the error log. If you get an error building a library, you will > also get errors from anything which uses the library. > -- > > then I try to run 'make': > -- > $ cd src/grass70/lib/python/ > python $ make > python -m py_compile /home/pietro/builds/grass70/src/grass70/dist.x86_64- > unknown-linux-gnu/etc/python/grass/script/core.py > Sorry: IndentationError: ('expected an indented block', > ('/home/pietro/builds/grass70/src/grass70/dist.x86_64-unknown-linux- > gnu/etc/python/grass/script/core.py', 71, 10, ' return val\n'))make: *** > [/home/pietro/builds/grass70/src/grass70/dist.x86_64-unknown-linux- > gnu/etc/python/grass/script/core.pyc] Error 1
I have tried with today's SVN - no such problem. [nete...@north python]$ touch core.py [nete...@north python]$ make /usr/bin/install -c -m 644 core.py /home/neteler/grass70/dist.x86_64-unknown-linux-gnu/etc/python/grass/script/core.py python -m py_compile /home/neteler/grass70/dist.x86_64-unknown-linux-gnu/etc/python/grass/script/core.py [nete...@north python]$ Perhaps you have local modifications? Which python version do you use? Markus _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev