Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to use mdenoise / r.denoise but i cant get it working. I have Xubuntu 12.04 and Grass 6.4.1

GRASS tells me after installing the plugin:

g.extension extension=r.denoise svnurl=
Fetching <r.denoise> from GRASS-Addons SVN (be patient)...
A    r.denoise/description.html
A    r.denoise/r.denoise
A    r.denoise/Makefile
 U   r.denoise
Ausgecheckt, Revision 51599.
Compiling <r.denoise>...
Makefile:5: /usr/lib/grass64/include/Make/Script.make: Datei
oder Verzeichnis nicht gefunden
make: *** Keine Regel, um
»/usr/lib/grass64/include/Make/Script.make« zu erstellen.
ERROR: Compilation failed, sorry. Please check above error messages.

I got no solution for that so I tryed to use mdenoise in the terminal but here I got truble with the filextensions: ASC-is the only extension I can work with but I got a "memory access error". Converting to other extensions failed (using SAGA).

root@MAP-PC:~/mdenoise# /home/map/mdenoise/mdenoise -I esri.asc -o output.asc
Input File: esri.asc
Neighbourhood: Common Vertex
Threshold: 0.400000
n1: 20
n2: 50
Speicherzugriffsfehler (Speicherabzug geschrieben)

with xyz-extension:

root@MAP-PC:~/mdenoise# /home/map/mdenoise/mdenoise -I -o output.asc
Input File:
Neighbourhood: Common Vertex
Threshold: 0.400000
n1: 20
n2: 50
Read Model...
    13.620 seconds
Denoising Model...     0.000 seconds
Saving Model...No .prj file is found.
     0.120 seconds

Im working now 10hours nonstop on it! Im going crazy!

I realy hope, someone can help me, to get mdenoise running!

THANKS! Martin

share|improve this question
up vote 3 down vote accepted

To compile GRASS Addons, you need to install the "grass-dev[el]" package as well (looks like missing in your case). But it is highly recommended to use GRASS 6.4.2 since we fixed a series of (Ubuntu) problems of g.extension in this release. In GRASS 6.4.2 you find also a convenient install tool in the wxGUI, the graphical user interface.

share|improve this answer
Thats it! Thanks! – MAP May 7 '12 at 21:11

Your Answer


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.