[SAGA-RG] usage of SAGA_LOCATION

Mathijs den Burger mathijs at cs.vu.nl
Wed Oct 15 09:28:04 CDT 2008


On Wed, 2008-10-15 at 15:10 +0200, PFA van Zoolingen wrote:

> > In the latest release CCT's SAGA C++ implementation doesn't require a set
> > SAGA_LOCATION environment variable anymore (at least as long as the
> > installation has not been moved from the --prefix directory it was
> > configured and built with). If no $SAGA_LOCATION is set it internally
> > defaults to the directory used during ./configure --prefix=... This doesn't
> > free you from the need to properly set your LD_LIBRARY_PATH, but that's
> > another issue, I guess.

The makefiles in LSU's SAGA C++ implementation (e.g.
$SAGA_LOCATION/share/saga/make/saga.application.mk) still need either
SAGA_ROOT or SAGA_LOCATION to be set. A user that writes a SAGA app
using an existing SAGA C++ installation therefore still needs to set
SAGA_LOCATION, otherwise he cannot include saga.application.mk in the
makefile of his own application. It's not clear to me whether that's a
bug or not, but it seems to conflict with the quoted statement.

-Mathijs




More information about the saga-rg mailing list