[GRASS-user] g.extension (e.g. to install i.landsat.toar)

Markus Neteler neteler at osgeo.org
Fri Oct 22 15:09:37 EDT 2010


On Fri, Oct 22, 2010 at 4:20 PM, Nick Jachowski <njachowski at gmail.com> wrote:
>
> I'm trying to get the grass add-on i.landsat.toar to work using g.extension,
> and I've had many problems.  I had been trying it on opensuse 11.3 and I
> installed various versions of grass from source, but they all had problems
> and did not work.

You mean that GRASS (which version) did not work or that g.extension within
it failed? Note that there is a known bug for g.extension usage in the Makefile
system due to a wrong path which also manifests in OpenSuse.

> I've almost given up, and now I am running grass on
> poseidon linux (ubuntu base) which came preinstalled with Grass 6.4ORC5.

(that's fairly old...)

> My question is: what is the easiest, most pain-free way to get g.extension to
> work?  What linux flavour should I be using (and is 32-bit or 64-bit
> better)?  Which GRASS version number?  Do I need to install from source?

It would be needed to fix for many platforms this bug:
http://trac.osgeo.org/grass/ticket/620

In general, please use 6.4.0 (or 6.4.svn).

> If I can't get g.extension to work properly are there any workarounds such
> as running it as bash script?

It needs to be compiled. You can manually fix the path in
include/Make/Platform.make (see above ticket), then g.extension
should work. Yesterday I made an attempt to also fix the
system wide installation (in GRASS 6.5) which might be
backported.

Markus


More information about the grass-user mailing list