On 2009-04-25 09:18-0500 Geoffrey Furnish wrote: > Alan W. Irwin writes: > > [...], but the other two error out as follows: > > > > softw...@raven> ./xtk02 -f tk02 > > invalid command name "Pltkwin" > > while executing > > "Pltkwin .plw" > > (file "tk02" line 48) > > invoked from within > > "source tk02" > > > > > > softw...@raven> ./xtk04 -f tk04 > > invalid command name "PLXWin" > > while executing > > "PLXWin .plw" > > (file "tk04" line 37) > > invoked from within > > "source tk04" > > > > Geoffrey, can you replicate the above issues? > > I will try to take a look at these, but I can't promise it will be on the > timescale of before-release. > > I don't remember tk02 using "Pltkwin". I'm pretty sure it didn't back at the > beginning when I wrote it, but maybe somebody tweaked it along the way. > Isn't Pltkwin the Tk-based plframe-alike that Vince wrote some time ago? > Anyway, I'll try to take a look. > > PLXWin is an Itk megawidget wrapper around plframe. That should start > working for you if you had Itcl/Itk in your environment. In that sense, > maybe it should be considered an "[incr Tk]" test rather than a Tk test. > Maurice and I have pretty much always included Itcl/Itk in our Tcl/Tk > environs, so the distinction between Itk and non-Itk was probably just never > really clarified.
Thanks for that reminder about missing Itcl/Itk which does turn out to be the cause of the above issues. For some reason, Debian Lenny does not have Itcl/Itk packages that work with Tcl/Tk 8.5 which is why you saw Itcl/Itk OFF in my cmake output. I have now installed Tcl/Tk 8.4 Debian packages and the corresponding Itcl/Itk packages that work with Tcl/Tk 8.4. I get the same errors as above if Itcl and Itk are disabled in the PLplot build. However, if I enable them, the above errors disappear. I will further investigate to see whether those examples work with Itcl alone or whether both Itcl and Itk are necessary. Anyhow, I think we have come to a resolution of the problem for these examples. I will take responsibility for adjusting our build system accordingly. HAVE_PTHREAD will be OFF by default until somebody looks deeper into it. Tcl/Tk/Itcl/Itk will be ON by default. Second and fourth Tk examples will be ignored if the necessary Itcl/Itk is not available (for whatever reason). It will be good to have Tk back by default for this forthcoming release. Thanks for your fundamental help and reminders like above in getting this nagging issue cleaned up. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Plplot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-devel
