<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 08/16/2016 05:00 PM, Nikos
Alexandris wrote:<br>
</div>
<blockquote
cite="mid:20160816230028.GB5546@mail.nikosalexandris.net"
type="cite">William Hudspeth:
<br>
<br>
<blockquote type="cite">Hello Nikos,
<br>
<br>
The link you provided documents how to use g.extension for
installing
<br>
python scripts in GRASS 7.3. In particular, it uses the
'url=....'
<br>
argument to specify a link to a zip file. I am using the stable
version
<br>
of GRASS 7.0 that is installed with Ubuntu 16.01. In that
version, the
<br>
'url=...' argument is not available. Is there an alternative way
to
<br>
install your extension in GRASS 7.0?
<br>
<br>
Thanks much, William
<br>
</blockquote>
<br>
Hi William. Please, try to keep some bottom-posting in the list.
<br>
<br>
Can you get GRASS' source code (any version 7.x) and follow steps
in
<br>
<a class="moz-txt-link-freetext" href="https://svn.osgeo.org/grass/grass-addons/README">https://svn.osgeo.org/grass/grass-addons/README</a>?
<br>
<br>
Nikos
</blockquote>
<br>
<pre>On 16/08/16 19:56, William Hudspeth wrote:
><i> Hello Nikos,
</i>><i>
</i>><i> The link you provided documents how to use g.extension for installing
</i>><i> python scripts in GRASS 7.3. In particular, it uses the 'url=....'
</i>><i> argument to specify a link to a zip file. I am using the stable version
</i>><i> of GRASS 7.0 that is installed with Ubuntu 16.01. In that version, the
</i>><i> 'url=...' argument is not available. Is there an alternative way to
</i>><i> install your extension in GRASS 7.0?
</i>
Download the extension to your machine, unzip it, go into the directory
and then run
make MODULE_TOPDIR=/path/to/your/grass/installation
You have to have the grass-dev package installed for it to work.
Moritz
I have tried installing from the unzipped directory using the following for grass installation
path, and with the following errors:
</pre>
<p>make MODULE_TOPDIR=/usr/lib/grass70<br>
</p>
<p>GISRC=/usr/lib/grass70/demolocation/.grassrc70
GISBASE=/usr/lib/grass70
PATH="/usr/lib/grass70/bin:/usr/lib/grass70/bin:/usr/lib/grass70/scripts:$PATH"
PYTHONPATH="/usr/lib/grass70/etc/python:/usr/lib/grass70/gui/wxpython:$PYTHONPATH"
LD_LIBRARY_PATH="/usr/lib/grass70/bin:/usr/lib/grass70/bin:/usr/lib/grass70/scripts:/usr/lib/grass70/lib:/usr/lib/grass70/lib:"
LC_ALL=C g.parser -t i.worldview.toar.py | sed s/\"/\\\\\"/g | sed
's/.*/_("&")/' >
/usr/lib/grass70/locale/scriptstrings/i.worldview.toar_to_translate.c<br>
/bin/sh: 1: cannot create
/usr/lib/grass70/locale/scriptstrings/i.worldview.toar_to_translate.c:
Directory nonexistent<br>
ERROR: Variable 'LOCATION_NAME' not set<br>
/usr/lib/grass70/include/Make/ScriptRules.make:28: recipe for
target
'/usr/lib/grass70/locale/scriptstrings/i.worldview.toar_to_translate.c'
failed<br>
make:
[/usr/lib/grass70/locale/scriptstrings/i.worldview.toar_to_translate.c]
Error 2 (ignored)<br>
<br>
</p>
<pre>
</pre>
<br>
</body>
</html>