<div dir="ltr"><div><div><div><div>Hi all,<br><br></div> I've been updating the addons I've written in GRASS6 to versions for GRASS7, and have been adding them to the GRASS7 addon svn, but it seems that I'm doing something wrong. The scripts all run fine from my own computer when I manually put them in my GRASS_ADDON_PATH, but when I, or others, try to install them from g.extension, we get the following error:<br><br>Fetching <r.catchment> from GRASS-Addons SVN repository (be patient)...<br>Compiling...<br>make: *** No rule to make target<br>`/tmp/tmp3G3Iwq/r.catchment/scripts/r.catchment', needed by<br>`script'. Stop.<br>ERROR: Compilation failed, sorry. Please check above error messages.<br><br></div>Any other addons will install fine, including others that are also python scripts. This is happening with all three of the scrips I've converted so far (r.catchment, r.landscape.evol, and r.viewshed.cva). I've been using other python scripts in the addons svn as templates for the format of the makefile, html description, and the headers for my own scripts, but it seems like nothing I do is making this work properly. <br><br></div>Here is a link to the svn repo for my r.catchment script, which sets off the above error: <a href="https://trac.osgeo.org/grass/browser/grass-addons/grass7/raster/r.catchment">https://trac.osgeo.org/grass/browser/grass-addons/grass7/raster/r.catchment</a><br></div><div><br></div><div>Here's a link to the r.basins script, which is not mine, and does NOT set off the above error: <a href="https://trac.osgeo.org/grass/browser/grass-addons/grass7/raster/r.basin">https://trac.osgeo.org/grass/browser/grass-addons/grass7/raster/r.basin</a><br><br></div><div>Can anybody see what I am doing wrong here? Any help will be GREATLY appreciated!!!<br></div><div><div><div><div><div><br>-- <br><div class="gmail_signature"><div dir="ltr"><div style="font-size:13px;margin-bottom:0px;margin-left:0px;padding-bottom:5px"><div style="overflow:hidden"><div dir="ltr"><span><font color="#888888"><div dir="ltr">Isaac I Ullah, Ph.D.<p style="margin-top:0.08in;margin-bottom:0in;line-height:0.07in"><span style="font-family:"times new roman",serif;line-height:12.8px">Arizona State University</span><br><span style="font-family:"times new roman",serif;line-height:12.8px">School of Human Evolution and Social Change</span><br><span style="font-family:"times new roman",serif;line-height:12.8px">PO Box 2402</span><br><span style="font-family:"times new roman",serif;line-height:12.8px">Tempe, AZ 85287-2402</span><br><span style="font-family:"times new roman",serif;line-height:12.8px">(480) 727-1054 office</span><br><span style="font-family:"times new roman",serif;line-height:12.8px">(650) 201-0479 cell</span><br><span style="font-family:"times new roman",serif;line-height:12.8px"><a href="mailto:iullah@asu.edu" target="_blank">iullah@asu.edu</a></span></p></div></font></span></div><div></div></div></div><div style="font-size:13px"></div></div></div>
</div></div></div></div></div></div>