Thanks for your help Markus. <br><br>I am now trying to use g.extension with GRASS 6.5.svn and GRASS 7.0.svn on Ubuntu 10.10, however when I start either versions of GRASS and try to open a new location (using the wxPython gui) I get the following error: <br>
<br>> g.proj: error while loading shared libraries: libgdal1.5.0.so.1: cannot open shared object file: No such file or directory<br><br>I searched for libgdal and found that I have libgdal1.6.0.so.1 at ./usr/lib/libgdal1.6.0.so.1<br>
<br>I don't care whether or not I get GRASS working on this OS or even what version of GRASS I get to work. I am just interested in the easiest way to use g.extension to be able to use the i.landsat.toar addon. Is there a flavour of linux that is particularly easy to use when it comes to GRASS? And would you recommend GRASS 6.4.0, 6.5, or 7.0 to get g.extension to work? <br>
<br>Any help is appreciated, thanks!<br><br>Nick<br><br><br><br><br><br><br><br><div class="gmail_quote">On Fri, Oct 22, 2010 at 12:09 PM, Markus Neteler <span dir="ltr"><<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On Fri, Oct 22, 2010 at 4:20 PM, Nick Jachowski <<a href="mailto:njachowski@gmail.com">njachowski@gmail.com</a>> wrote:<br>
><br>
> I'm trying to get the grass add-on i.landsat.toar to work using g.extension,<br>
> and I've had many problems. I had been trying it on opensuse 11.3 and I<br>
> installed various versions of grass from source, but they all had problems<br>
> and did not work.<br>
<br>
</div>You mean that GRASS (which version) did not work or that g.extension within<br>
it failed? Note that there is a known bug for g.extension usage in the Makefile<br>
system due to a wrong path which also manifests in OpenSuse.<br>
<div class="im"><br>
> I've almost given up, and now I am running grass on<br>
> poseidon linux (ubuntu base) which came preinstalled with Grass 6.4ORC5.<br>
<br>
</div>(that's fairly old...)<br>
<div class="im"><br>
> My question is: what is the easiest, most pain-free way to get g.extension to<br>
> work? What linux flavour should I be using (and is 32-bit or 64-bit<br>
> better)? Which GRASS version number? Do I need to install from source?<br>
<br>
</div>It would be needed to fix for many platforms this bug:<br>
<a href="http://trac.osgeo.org/grass/ticket/620" target="_blank">http://trac.osgeo.org/grass/ticket/620</a><br>
<br>
In general, please use 6.4.0 (or 6.4.svn).<br>
<div class="im"><br>
> If I can't get g.extension to work properly are there any workarounds such<br>
> as running it as bash script?<br>
<br>
</div>It needs to be compiled. You can manually fix the path in<br>
include/Make/Platform.make (see above ticket), then g.extension<br>
should work. Yesterday I made an attempt to also fix the<br>
system wide installation (in GRASS 6.5) which might be<br>
backported.<br>
<font color="#888888"><br>
Markus<br>
</font></blockquote></div><br>