From: Alan W. I. <ir...@be...> - 2002-07-01 16:52:58
|
On Mon, 1 Jul 2002, Vince Darley wrote: > I've uploaded a patch to sourceforge which contains the first set of > changes needed to cvs head. Assuming that doesn't break anything, then > that patch, plus a few new files, will allow a first build of plplot > against Windows Tk. > > I'd appreciate it if someone could check whether that patch breaks > anything (note: the patch has windows eols (\r\n) so care is needed to > apply it correctly on Unix). The line endings problem was easily fixed using the tr -d '\r' <file.in >file.out command. Once that change was made, the patch applied cleanly, and plplot was configured and built without errors and similarly for make cdemos fdemos cxxdemos tkdemos Furthermore, all my tk interactive tests worked fine (and I liked the page control you now have for the tkdemos.tcl demos). However, pltcl no longer works. ./pltcl -dev xwin application-specific initialization failed: Can't find a usable plplot.tcl in the following directories: /usr/lib/plplot5.1 /home/software/plplot_cvs/HEAD/plplot_darley/lib/plplot5.1 /home/software/plplot_cvs/HEAD/lib/plplot5.1 /home/software/plplot_cvs/HEAD/plplot_darley/library /home/software/plplot_cvs/HEAD/library /home/software/plplot_cvs/HEAD/plplot5.1/library /home/software/plplot_cvs/plplot5.1/library This probably means that plplot wasn't installed properly. This is undoubtedly a configuration issue. The point is that stuff built in plplot_darley/tmp should just work without installation so long as you stay in that directory. (Once plplot is installed, that should work as well with whatever install location prefix is used, but I haven't gotten that far, yet.) 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. Alan |