From: Maurice L. <mj...@ga...> - 2002-09-25 06:09:33
|
Alan W. Irwin writes: > I confirm those display problems on my system with the above recipe. I > think the problem is that you have set up everything so that "package > require Plplotter" indirectly executes > > load ./drivers/tkwind_drv.so Plplotter > > (see pkgIndex.tcl). That is perfect for source "runAllDemos.tcl", but that > is not correct for either "source tkdemos.tcl" (under wish) or "source > tcldemos.tcl" (under tclsh). Hmm.. ok that makes sense, although it is a bit odd. One of these days I'll have to get around to merging the two forks if possible. > Instead, for the tkdemos.tcl case > "package require Pltk" should indirectly execute > > load ./drivers/tkd_drv.so Pltk > > (very different from the load command above). > > Similarly, for the tcldemos.tcl case > "package require Pltcl" should indirectly execute > > load ./libplplottcltkd.so.5.1.0 Pltcl > > Maurice, can you put that required extra functionality (with generalization > to the installed case once the plplot/tmp case works) into pkgIndex.tcl? (I > tried more or less blindly following what you did for the "package require > Plplotter" case, but ran into errors due to my extremely limited knowledge > of tcl). So much for my break from plplot until next week.. :/ I was curious & thought it'd be a quick fix so I started work on it already. I've devised a nice way to handle everything, still in the testing phase, a bit more work than a "quick fix" but oh well, kind of cool at least. Should get it committed tonight. -- Maurice LeBrun mj...@ga... Research Organization for Information Science and Technology of Japan (RIST) |