[GRASS-dev] v.line.center port to G7

Johannes Radinger johannesradinger at gmail.com
Wed Jun 19 01:37:41 PDT 2013


As I'd like to use the v.line.center add-on also in G7, I though about
the tool. I think there are just minor changes needed to adapt the
parameter names
of the used modules v.to.db and v.segment to the newer G7.

The add-on is a shell script. The folder of the tool contains a Makefile
and the html description.
The make file contains:


PGM = v.line.center

include $(MODULE_TOPDIR)/include/Make/Script.make

default: script

The Makefile in the /scripts folder has also been adapted and the
v.line.center subdir has
been added. However when I try to run make I get following error:

GRASS GIS 7.0.svn 56779M compilation log
Started compilation: Wed Jun 19 09:51:21 CEST 2013
Errors in:
In case of errors please change into the directory with error and run
If you get multiple errors, you need to deal with them in the order they
appear in the error log. If you get an error building a library, you will
also get errors from anything which uses the library.
Finished compilation: Wed Jun 19 09:51:38 CEST 2013
make: *** [default] Error 1
radinger at grassgis:/usr/local/src/grass7_trunk$ cd
radinger at grassgis:/usr/local/src/grass7_trunk/scripts/v.line.center$ make
make: *** No rule to make target
needed by `script'.  Stop.

As I could not find any other shell script in that folder I am not sure if
the problem is the shell script in general? Attached the slightly adapted
script (v.to.db, v.segment).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20130619/54230124/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v.line.center
Type: application/octet-stream
Size: 3257 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20130619/54230124/attachment.obj>

More information about the grass-dev mailing list