[GRASS-dev] addon compilation error

I wrote a little addon r.random.weight and added it to the addon repository: https://trac.osgeo.org/grass/browser/grass-addons/grass7/raster/r.random.weight/r.random.weight

However, when trying to install it in grass (7) via the addon-extensions function, it fails, with the message below:

Fetching <r.random.weight> from GRASS-Addons SVN (be patient)…
Compiling…
make: *** No rule to make target
/tmp/tmpXHVzn1/r.random.weight/scripts/r.random.weight', needed by script’. Stop.
ERROR: Compilation failed, sorry. Please check above error messages.

Other addons install fine. Can anybody tell me what I should do to make this work?

Best wishes

Paulo

On Mon, Jun 30, 2014 at 10:23 AM, Paulo van Breugel <p.vanbreugel@gmail.com>
wrote:

I wrote a little addon r.random.weight and added it to the addon
repository:
https://trac.osgeo.org/grass/browser/grass-addons/grass7/raster/r.random.weight/r.random.weight

However, when trying to install it in grass (7) via the addon-extensions
function, it fails, with the message below:

Fetching <r.random.weight> from GRASS-Addons SVN (be patient)...
Compiling...
make: *** No rule to make target
`/tmp/tmpXHVzn1/r.random.weight/scripts/r.random.weight',
needed by `script'. Stop.
ERROR: Compilation failed, sorry. Please check above error messages.

Other addons install fine. Can anybody tell me what I should do to make
this work?

Try to add .py extension. Other Python scripts have it.

https://trac.osgeo.org/grass/browser/grass-addons/grass7/raster/r.basin/r.basin.py

Best wishes

Paulo

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

That doesn’ t seem to work either, I am getting the same error message after adding the py extension

···

On 30-06-14 17:24, Vaclav Petras wrote:

On Mon, Jun 30, 2014 at 10:23 AM, Paulo van Breugel <p.vanbreugel@gmail.com> wrote:

I wrote a little addon r.random.weight and added it to the addon repository: https://trac.osgeo.org/grass/browser/grass-addons/grass7/raster/r.random.weight/r.random.weight

However, when trying to install it in grass (7) via the addon-extensions function, it fails, with the message below:

Fetching <r.random.weight> from GRASS-Addons SVN (be patient)…
Compiling…
make: *** No rule to make target
/tmp/tmpXHVzn1/r.random.weight/scripts/r.random.weight', needed by script’. Stop.
ERROR: Compilation failed, sorry. Please check above error messages.

Other addons install fine. Can anybody tell me what I should do to make this work?

Try to add .py extension. Other Python scripts have it.

https://trac.osgeo.org/grass/browser/grass-addons/grass7/raster/r.basin/r.basin.py

Best wishes

Paulo


grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

On 1 July 2014 00:05, Paulo van Breugel <p.vanbreugel@gmail.com> wrote:

That doesn' t seem to work either, I am getting the same error message after
adding the py extension

I should fix it in r61093, it was a problem on html file :wink:
Please try it...

--
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org

Great, that worked… and good to know what was wrong

···

On 01-07-14 08:54, Luca Delucchi wrote:

On 1 July 2014 00:05, Paulo van Breugel [<p.vanbreugel@gmail.com>](mailto:p.vanbreugel@gmail.com) wrote:

That doesn' t seem to work either, I am getting the same error message after
adding the py extension

I should fix it in r61093, it was a problem on html file ;-)
Please try it...