<div dir="ltr"><div><div><div><div><div><div><div>Hi,<br><br></div>As I'd like to use the v.line.center add-on also in G7, I though about porting<br></div>the tool. I think there are just minor changes needed to adapt the parameter names<br>
of the used modules v.to.db and v.segment to the newer G7.<br><br></div>The add-on is a shell script. The folder of the tool contains a Makefile and the html description.<br></div>The make file contains: <br><br>MODULE_TOPDIR = ../..<br>
<br>PGM = v.line.center<br><br>include $(MODULE_TOPDIR)/include/Make/Script.make<br><br>default: script<br><br></div>The Makefile in the /scripts folder has also been adapted and the v.line.center subdir has<br>been added. However when I try to run make I get following error:<br>
<br>GRASS GIS 7.0.svn 56779M compilation log<br>--------------------------------------------------<br>Started compilation: Wed Jun 19 09:51:21 CEST 2013<br>--<br>Errors in:<br>/usr/local/src/grass7_trunk/scripts/v.line.center<br>
--<br>In case of errors please change into the directory with error and run 'make'.<br>If you get multiple errors, you need to deal with them in the order they<br>appear in the error log. If you get an error building a library, you will<br>
also get errors from anything which uses the library.<br>--<br>Finished compilation: Wed Jun 19 09:51:38 CEST 2013<br>make: *** [default] Error 1<br>radinger@grassgis:/usr/local/src/grass7_trunk$ cd /usr/local/src/grass7_trunk/scripts/v.line.center/<br>
radinger@grassgis:/usr/local/src/grass7_trunk/scripts/v.line.center$ make<br>make: *** No rule to make target `/usr/local/src/grass7_trunk/dist.i686-pc-linux-gnu/scripts/v.line.center', needed by `script'. Stop.<br>
<br></div>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).<br><br></div>/Johannes<br></div>