[GRASS-user] Desperate help needed 2: can' t install add-ons in other versions of GRASS.

Marcello Gorini gorini at gmail.com
Sun Sep 18 12:06:54 EDT 2011


Sorry for this another desperate message, but I am really having all kinds of
troubles in the worst moment ever!

In order to bypass the problem in my previous post, I installed both GRASS
7.0 from svn checkout https://svn.osgeo.org/grass/grass/trunk grass_trunk
and GRASS 6.4.1 from Synaptic in another computer.

Then I can' t install any add-ons! Since I get all kinds of errors, I will
concentrate in the r.fuzzy.system module since it is the really essential
one.
In GRASS 7.0:
 > g.extension extension=r.fuzzy.system
svnurl=http://svn.osgeo.org/grass/grass-addons/

result:
*Fetching 'r.fuzzy.system' from GRASS-Addons SVN (be patient)...
A    r.fuzzy.system/flood.map
A    r.fuzzy.system/helpers.c
A    r.fuzzy.system/local_proto.h
A    r.fuzzy.system/flood.rul
A    r.fuzzy.system/rule_parser.c
A    r.fuzzy.system/main.c
A    r.fuzzy.system/system.c
A    r.fuzzy.system/description.html
A    r.fuzzy.system/f_result.png
A    r.fuzzy.system/fuzzylogic.c
A    r.fuzzy.system/io.c
A    r.fuzzy.system/map_parser.c
A    r.fuzzy.system/Makefile
 U   r.fuzzy.system
Checked out revision 48345.
Compiling 'r.fuzzy.system'...
test -d OBJ.x86_64-unknown-linux-gnu || mkdir -p
OBJ.x86_64-unknown-linux-gnu
gcc  -mtune=nocona -minline-all-stringops -O2 -Wall -D_FILE_OFFSET_BITS=64  
-I/usr/local/grass-7.0.svn/include -I/usr/local/grass-7.0.svn/include 
-D_FILE_OFFSET_BITS=64  -DPACKAGE=\""grassmods"\"  
-I/usr/local/grass-7.0.svn/include -I/usr/local/grass-7.0.svn/include -o
OBJ.x86_64-unknown-linux-gnu/fuzzylogic.o -c fuzzylogic.c
In file included from fuzzylogic.c:1:0:
local_proto.h:106:5: error: expected specifier-qualifier-list before
‘RASTER_MAP_TYPE’
make: *** [OBJ.x86_64-unknown-linux-gnu/fuzzylogic.o] Error 1
ERROR: Compilation failed, sorry. Please check above error messages.*

I have no idea what " local_proto.h:106:5: error: expected
specifier-qualifier-list before ‘RASTER_MAP_TYPE’"  means!

I have found the following thread:
http://permalink.gmane.org/gmane.comp.gis.grass.user/40781
but no real answers.

Then I downloaded it using:
svn checkout https://svn.osgeo.org/grass/grass-addons/raster/r.fuzzy.system/
then cd to the r.fuzzy.system folder and, following GRASS wiki
(http://grass.osgeo.org/wiki/Compile_and_Install#Addons):
make MODULE_TOPDIR=/usr/local/grass-7.0.svn

But I get:
*gcc  -mtune=nocona -minline-all-stringops -O2 -Wall -D_FILE_OFFSET_BITS=64  
-I/usr/local/grass-7.0.svn/include -I/usr/local/grass-7.0.svn/include 
-D_FILE_OFFSET_BITS=64  -DPACKAGE=\""grassmods"\"  
-I/usr/local/grass-7.0.svn/include -I/usr/local/grass-7.0.svn/include -o
OBJ.x86_64-unknown-linux-gnu/fuzzylogic.o -c fuzzylogic.c
In file included from fuzzylogic.c:1:0:
local_proto.h:106:5: error: expected specifier-qualifier-list before
‘RASTER_MAP_TYPE’
make: *** [OBJ.x86_64-unknown-linux-gnu/fuzzylogic.o] Error 1
*
I won't comment on my tries with GRASS 6.4.1 so that this email does not get
excessively long, but no need to say that I had no success.

I am in a serious need to get any GRASS installation up and running with
add-ons, so I would really appreciate if anyone could help me on this one
(and also my previous post please).

Best regards,
Marcello.


--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Desperate-help-needed-2-can-t-install-add-ons-in-other-versions-of-GRASS-tp6806040p6806040.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list