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 extension r.roughness from the Grass 6 repository, but in Grass 7.

When trying g.extensions, the error "make: * No rule to make target /home/peter_s/grass_data/CLB/CLB_June_2013/.tmp/Peter/8657.0/r.roughness/scripts/r.roughness.window.vector', needed byscript'. Stop.".

When getting the extension from svn and compiling in the folder with $ make MODULE_TOPDIR=/usr/local/grass-7.0.svn/ I get a similar error: make: * No rule to make target /usr/local/grass-7.0.svn/scripts/r.roughness.window.vector', needed byscript'. Stop.

Any ideas where the bug is?

Thanks in advance!! Peter

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

There are addons for GRASS 6.x (addons) and there are others for GRASS 7 (addons)

Since the future version 7 (still being developed with several versions per month, which do you use ?) marks a major break with the 6.x versions (new vector API, etc.) it is doubtful that all GRASS 6.x addons works without problems (there is no r.roughness in GRASS 7 raster addons)

So, if you want to use r.roughness without bugs or problems, use the 6.4.x version (I have no problem with the official stable version (6.4.2) and with the future version (6.4.3RC3)

share|improve this answer
    
Thanks, gene! I will try it with GRASS 6, then. All the best, Peter –  Peter Jun 5 '13 at 17:02
    
OK, it seems to work in Grass 6. Note for others: command for command line is r.roughness.window.vector –  Peter Jun 6 '13 at 8:37
    
One more problem: Only the command r.roughness.vector works - but for my task the calculation between surface and area of square cells would be more suited, which is what "r.roughness.window.area" does. That command does not work, however ([Errno 2] No such file or directory). Ideas why that is? –  Peter Jun 7 '13 at 10:17
add comment

Solution: needed to copy the r.roughness.window.area script from the src folder into /usr/local/grass-6.4.3svn/scripts r.roughness.window.vector was there, but r.roughness.window.area was not.

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.