From: Vince D. <vi...@sa...> - 2002-07-16 15:14:26
|
Actually I can't really see what could be going wrong... may have to leave this up to Geoff etc to look at. However I will continue to think. I the long term it would be much better to get rid of the compiled executable that is plserver and replace it with an executable Tcl script which simply loads dlls etc. -- Vince <http://www.santafe.edu/~vince> On Mon, 15 Jul 2002, Alan W. Irwin wrote: > 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 > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Jabber - The world's fastest growing > real-time communications platform! Don't just IM. Build it in! > http://www.jabber.com/osdn/xim > _______________________________________________ > Plplot-devel mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-devel > |