Hi Arjen: On 2013-11-18 11:47-0000 Arjen Markus wrote:
> Hi Alan, > > I promised to tell more about my experiences with Tcl/Tk on Cygwin yesterday. > Here goes: > > 1. I can run the examples via wish, but not via plserver. I am currently > trying to figure > out why it does not work, but the symptom is that it brings up the default > window > within the X Window display and then nothing seems to happen. > (I have contacted one of the Tcl/Tk maintainers about it - he is quite > knowledgeable > about the Cygwin platform, so I expect I will be able to sort it out > within a reasonable > period of time.) To simplify that bug hunt (always a good thing to do), what happens when you use plserver in the build tree by hand, e.g., ../../bindings/tk/plserver source tkdemos.tcl 0 1 .... ? If the "0", "1", etc., commands return and don't hang, then the issue is likely that the connection between plserver and your display is somehow broken on Cygwin. But if those commands are hanging, there is probably something worse going on. Note, in order to get all the dependencies of the above commands built first, you need to run "make test_tk_standard_examples" (and interrupt when it hangs) or "make all" first. What happens for the four simple Tk tests you can do by individually running the four targets test_tk_0[1-4] ? (Those automatically run as dependencies of the test_interactive target, but you may not have gotten those tests executed before the test_tk_standard_examples target failed to display any results.) Each of those is an independent test under different conditions so those individual test results will be most interesting. > > 2. The examples all seem to work fine via Tcl/Tk's standard wish. No colour > issues or > segfaults. That is encouraging, but it makes it rather hard to solve the > problems you > are seeing. Perhaps I should try it directly on Linux. A bit more work, > but doable. Making PLplot work under wish was a contribution by Vince Darley back in 1992 with some help from me to do the testing on the Linux side. But I could never get anyone else in the PLplot community to try it after we were done. So it is most gratifying that my further work in the last week or so to get rid of the bit rot for this case has resulted in you being able to get essentially perfect results with the method on Cygwin. And I would very much appreciate your expert backup in the Linux case to get rid of the last issues in that case as well. > > 3. I need to adapt the pkgIndex.tcl file for Cygwin, I have not sorted out > yet how best > to do that for the general case. > > Anyway, this is a summary of my experiences so far. Will be continued. Thanks very much for your Tcl/Tk testing efforts which continue to be a big help. 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
