[GRASS-user] add-ons installation failure

Patrick_schirmer patrick_GIS at gmx.ch
Tue Nov 16 06:14:28 EST 2010


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, create a directory "build" in directory "/" (which is 
not mentioned in wiki) and change rights to chmod -777 that it would 
start running. When running g.extension extension=v.vectstats it creates 
following error:

Fetching <v.vect.stats> from GRASS-Addons SVN (be patient)...
A v.vect.stats/grass7.patch
A v.vect.stats/main.c
A v.vect.stats/description.html
A v.vect.stats/grass65.patch
A v.vect.stats/Makefile
U v.vect.stats
Checked out revision 44346.
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 
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grass.log
Type: text/x-log
Size: 37384 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20101116/27bfcf8f/grass-0001.bin


More information about the grass-user mailing list