From: Vince D. <vi...@sa...> - 2002-07-02 09:31:55
|
>>> Setting PL_LIBRARY is the best solution but I think "." should be searched last, as a last-ditch effort to find plplot.tcl. Just so that you don't ever have to set PL_LIBRARY if all you're doing is building/testing. >>> Unfortunately, the nice function we're using (tcl_findLibrary) is a standard Tcl library function which doesn't search '.'. All I can think of that we add a check just before that initScript to check if PL_LIBRARY is set, and if not, then to set it to '.'. Either that, or running 'pltcl' from the build directory should simply require you to set PL_LIBRARY to . first. (You can even add make targets to do that). What is 'pltcl' supposed to do, from the build directory, if 'PL_LIBRARY' is set? Presumably it should use that and ignore what is in '.' anyway. I'm in the middle of committing the other parts of the first set of changes, in small pieces. cheers, -- Vince <http://www.santafe.edu/~vince> |