|
From: Vince D. <vi...@sa...> - 2002-07-01 17:01:33
|
On Mon, 1 Jul 2002, Alan W. Irwin wrote:
> Note, there is a plplot.tcl in the current directory,
> /home/software/plplot_cvs/HEAD/plplot_darley/tmp.
> Vince, what environment variable do I need to set (or what change to source
> files) to put the current directory on the list of directories to be
> searched for plplot.tcl? Once this is sorted out so I can successfully
> run pltcl, then that will complete my tests, and I intend to commit
> your patch to cvs so others can give it a try.
Thanks for trying this Alan.
PL_LIBRARY is the environment variable you can set (see tclAPI.c:
static char initScript[] =
"tcl_findLibrary plplot 5.1 \"\" plplot.tcl PL_LIBRARY pllibrary";
). Alternatively the 'pllibrary' Tcl variable can be set.
Basically 'PlbasicInit' needs to be able to find 'plplot.tcl' and source
it. 'tcl_findLibrary' is a standard Tcl command which simplifies this
task.
cheers,
Vince.
|