Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am trying to install the add-on r.clump2 for grass7. What is wrong and how do I fix it?. Thanks

The error code im receiving is the following:

> (Fri Jul  5 15:13:42 2013)                                            
> g.extension -s extension=r.clump2
> svnurl=http://svn.osgeo.org/grass/grass-addons/grass7 Fetching
> <r.clump2> from GRASS-Addons SVN (be patient)... Compiling...
> flag.c:1:23: fatal error: grass/gis.h: No such file or directory 
> #include <grass/gis.h>
>                        ^ compilation terminated. make: *** [OBJ.x86_64-apple-darwin10.8.0/flag.o] Error 1
share|improve this question
Apparently you use Mac OSX, but where did you get the GRASS GIS package from? In the Linux world you would be lacking a "grass-devel" package to be installed. –  markusN Jul 6 '13 at 12:46
If you happen to figure it out, please also update grasswiki.osgeo.org/wiki/MacOSX_GRASS_errors (or ping me to do it). –  markusN Jul 8 '13 at 23:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.