[GRASS-user] Grass add-ons + i.atcorr

Nikos Alexandris nikos.alexandris at felis.uni-freiburg.de
Mon Nov 10 06:48:45 EST 2008


On Mon, 2008-11-10 at 12:38 +0100, Annekatrien Debien wrote:
> Dear all,
> 
> I'm working with Grass 6.2.2 on Linux CentOS 5.2, and want to use the
> imagery add-ons from the SVN repository. I managed to download them
> all using the 'svn checkout...' command, but when I try to install
> them with the 'make MODULE_TOPDIR=/usr/lib/grass-6.2.2' command, I
> always get the message 'No targets specified and no makefile found.'
> Hence, the commands in the makefiles of the add-ons won't work since
> no MODULE_TOPDIR has been made. I know this might seem very basic, but
> I'm a complete beginer with little time to learn it all.
> I've also just noticed that i.atcorr is not available in this version
> of Grass. Can it still be downloaded somewhere separately, and then
> just moved to the bin-directory of Grass?
> Can anyone explain me (in simple terms, I'm new to Linux and Grass)
> how I can get these add-ons installed please?
> 
> Thanks!
> Annekatrien

Dear Annekatrien,

the README file under ../grass-addons/ states:
The easiest way to compile GRASS Addons modules into your GRASS code 
  is by setting MODULE_TOPDIR on the fly to tell 'make' where to
  find the GRASS source code:

    make MODULE_TOPDIR=$HOME/grass64/

So you need to point make to *source code* and not the installed binaries. That could be for example
mak MODULE_TOPDIR=/usr/local/src/grass64/

or wherever you store the source code.

Hope this helps.
Kind regards, Nikos




More information about the grass-user mailing list