|
From: Alan W. I. <ir...@be...> - 2002-07-16 02:27:44
|
On Mon, 15 Jul 2002, Alan W. Irwin wrote:
> Vince,
>
> For installed versions of plserver I get the following error now if I
> attempt to execute it from an arbitrary directory.
> ********
> /usr/local/plplot/bin/plserver
> (*AppInit) failed: Can't find a usable plplot.tcl in the following
> directories:
> /usr/lib/plplot5.1.0/tcl ./lib/plplot5.1.0/tcl ./lib/plplot5.1.0/tcl
> ./library ./library ./plplot5.1.0/tcl/library ./plplot5.1.0/tcl/library
>
>
>
> This probably means that plplot wasn't installed properly.
> ********
Hello Vince,
I have done one additional interesting experiment with pltcl. I forced it
to *not* work by temporarily changing the /tcl string to /tclx in tclAPI.c.
Here is the resulting error message:
/usr/local/plplot/bin/pltcl
application-specific initialization failed: Can't find a usable plplot.tcl
in the following directories:
/usr/lib/plplot5.1.0/tclx /usr/local/plplot/lib/plplot5.1.0/tclx
/usr/local/lib/plplot5.1.0/tclx /usr/local/plplot/library /usr/local/library
/usr/local/plplot5.1.0/tclx/library /usr/plplot5.1.0/tclx/library
If I change tclx back to tcl, then this works because the required file
is in /usr/local/plplot/lib/plplot5.1.0/tcl.
However, you will note the interesting difference with the previous error
message. Instead of looking in /usr/local/plplot/lib/plplot5.1.0/tcl like
pltcl, plserver is looking in ./lib/plplot5.1.0/tcl. Howcum? It's
executing in the /usr/local/plplot tree not the . directory, and one of the
clues tcl_findLibrary is supposed to use to get the tree prefix is the
location of the executable. Also, one error message starts with a different
header "(*AppInit)" rather than "application-specific initialization failed".
Is that significant?
Hope this extra information helps you get this straightened out.
Alan
|