From: Alan W. I. <ir...@be...> - 2002-07-02 06:14:56
|
On Mon, 1 Jul 2002, Maurice LeBrun wrote: > Alan W. Irwin writes: > > On Mon, 1 Jul 2002, Vince Darley wrote: > > > > > 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. > > > > > > > OK. > > > > setenv PL_LIBRARY . > > > > made everything work fine in plplot/tmp. You will probably have to set that > > environment variable to something else for the installed version to work on > > Linux if you use a non-standard prefix. > > I don't like this at all. Why isn't the current directory being searched? I agree it is slightly inconvenient for users to set an environment variable so this should ultimately be fixed. What specifically do you suggest? I was tempted to put a "." in the list that Vince mentioned above, but I wasn't sure that was the right syntax to use or even if tcl experts such as yourself really did want the local directory always searched for this file or if so, in what order? For example, there might be security implications in always automatically searching the current directory first (or at all) since it is a very similar situation to putting "." in your path. Anyhow, I would appreciate you and Vince thinking about all this and making the final decision. Until this minor fix is finalized, setting the environment variable should be okay for testing purposes on CVS. When you actually try the latest CVS version are there any other concerns that need to be addressed? Alan |