On Tue, Nov 16, 2010 at 12:14 PM, Patrick_schirmer <patrick_...@gmx.ch> wrote: > Dear list, > > I am trying to install add-ons on GRASS (6.4.0) through g.extension, as > Markus mentioned this should be possible with RC07. Had to import grass-dev > package,
Some of these grass-dev packages seem to have bugs introduced by the packagers: in /usr/lib/grass64/include/Make/Platform.make, replace # GRASS dirs GRASS_HOME = /build/buildd/grass-6.4.0 RUN_GISBASE = /build/buildd/grass-6.4.0/dist.i486-pc-linux-gnu with # GRASS dirs GRASS_HOME = /usr/lib/grass64 # not sure what should be here since /usr/lib/grass64/dist.i486-pc-linux-gnu does not exist: RUN_GISBASE = /usr/lib/grass64 Then it should not be necessary to... > create a directory "build" in directory "/" (which is not mentioned > in wiki) and change rights to chmod -777 that it would start running. and... > When > running g.extension extension=v.vectstats it creates following error: > > Compiling <v.vect.stats>... > test -d OBJ.i486-pc-linux-gnu || mkdir -p OBJ.i486-pc-linux-gnu > gcc -I/build/buildd/grass-6.4.0/dist.i486-pc-linux-gnu/include -Wall -g -O > -I/usr/include/gdal -DPACKAGE=\""grassmods"\" > -I/build/buildd/grass-6.4.0/dist.i486-pc-linux-gnu/include -o the non-existing path /build/buildd/grass-6.4.0/dist.i486-pc-linux-gnu/include should be replaced with the existing path /usr/lib/grass64/include HTH, Markus M > OBJ.i486-pc-linux-gnu/main.o -c main.c > main.c:23:23: error: grass/gis.h: No such file or directory > main.c:24:27: error: grass/glocale.h: No such file or directory > main.c:25:25: error: grass/stats.h: No such file or directory > main.c:26:24: error: grass/dbmi.h: No such file or directory > main.c:27:24: error: grass/Vect.h: No such file or directory > main.c:31: error: expected specifier-qualifier-list before ‘stat_func’ > main.c:39: error: ‘c_sum’ undeclared here (not in a function) > > (complete log file is attached) > > Do I need to set some other paths before? I still try to avoid installing > GRASS from svn. > Wiki-link: > http://josef.fsv.cvut.cz/WIKI/grass-osgeo/index.php/GRASS_AddOns#Building_and_installing_Addons > > Thanks for your kind help > > Patrick (Schirmer) > > _______________________________________________ > grass-user mailing list > grass-user@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/grass-user > > _______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user