Hi Arjen: On 2013-11-15 19:08-0800 Alan W. Irwin wrote:
> [...]Over the next few days, I plan to do the following: > > * Try once more to get the nopause option to work for the > test_tk_standard_examples case (since it works fine for the largely > equivalent test_wish_standard_examples case), Nothing I tried worked here. > * Take a look at the segfault noted above. That segfault (that happens while the Tcl exit command is being executed) is still with us. Which makes sense since it was a segfault using the wish environment, and you only changed the plserver code. So I suspect you are on the right track, but need to apply a similar fix elsewhere as well. > > * Try installing Tcl8.6 without private headers to see whether PLplot > can build against that. That build and install includes itcl3.x which does not work because it requires the private headers to build. So I cannot test this case for PLplot. OTOH, the Fedora report after your change to remove dependence on a private macro was once again good so I think we are OK here. I also did some additional Tcl and friends work. * Tested the ntk device. No display (unlike ~5 years ago when this simple device worked with no issues). Probably some updating of the Tk calls is required to get the display working again. * Linked tkwin and libplplottcltkd against the stub version of the Tcl and Tk library by default. (If you want to try an experiment without this, use -DUSE_TCL_TK_STUBS=OFF.) The stub versions are the recommended libraries to link to, but the PLplot work to make that happen required a number of code cleanups including splitting off the "Main" routines into their own separate library, plplottcktk_Maind since those routines interfere with using libplplottcktkd as a pure Tcl/Tk extension and in any case are only required for linking executables such as pltcl and plserver. * For some reason plserver -h segfaults if it is linked to Tcl/Tk8.6. On the other hand, it is valgrind clean against Tcl/Tk8.5. I could get nowhere with this. * Suddenly runAllDemos.tcl (under wish) errors out when I press a button with a message concerning x01 (or whatever) being an invalid command. (the plserver version is fine). That makes no sense since x01.tcl is right there in the current directory. So the issue is probably due to some regression I recently introduced, but -DUSE_TCL_TK_STUBS=OFF, for example, makes no difference, and I could get nowhere further with this. I suggest when you test my recent changes you stick to the dynamic drivers/shared library case in the build tree for a little bit because that is the only case I have tested so far. But tomorrow, I plan to do a full set of comprehensive tests to discover and deal with any recent issues I have introduced for other cases. But after that is done I have no more work planned for the Tcl and friends bindings and examples in the near future principally because this aspect of PLplot is probably in its best shape ever, and because I can make no further progress with the remaining issues due to lack of Tcl/Tk expertise. So from now on, Tcl/Tk is going to necessarily be mostly your responsibility (because of your much larger Tcl/Tk expertise). However, I would be happy to test any further Tcl (and friends) changes you make and help out with any build system issues you discover. I also plan to work some more on build_projects (principally making it easier to use) which should help you to build and test Tcl8.6 and friends when you get to the stage of working on the issues specific to those versions. Note I haven't forgotten about the f77 purge which will likely occur late this week. 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); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); 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 __________________________ ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ Plplot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-devel
