On 2006-11-08 08:23-0800 Alan W. Irwin wrote: > Bus errors for -dev tk and a different other bad (blank screen) result > when interactively choosing dev tk from the menu are obviously not good signs. > > I suspect that we have been building the ABS version all this time on Mac OS > X and nobody actually tested the Tk part of it. The reason I say that is > because of the lack of Mac OS X identification in plplot.h that you just > fixed. > > OTOH, Tk has worked for a long time on Linux with no segfaults or any other > fundamental showstopper like you are encountering. So I think you are > probably really close to getting it to work. I don't think there is > anything more we can do in the linking department. One possibility is to > try a different version of Tcl/Tk (the fink version if you got the above > results with the Apple native version or vice versa). But if you get the > same or related run-time problems with a different Tcl/Tk version then I > think your only recourse is to do some run-time debugging to see exactly > what the problem is.
P.S. I have reconsidered, and there is at least two additional experiments you should run to isolate/simplify the problem better before you resort to run-time debugging. * -dev tk is a rather complicated way to run plserver so I suggest you try running plserver directly (in the installed examples tree) following the cookbook in README.tkdemos. * Another simplified method of using libplplottcltk is provided by the xtk?? examples (in the installed examples tree). What happens when you follow the cookbook in README.tkdemos for running xtk01, xtk02, and xtk04? If some of these experiments succeed and others not, then that gives us a good cross-bearing on exactly where the problem is occurring. If all these experiments fail, then I suggest the direct run-time debugging should be done on xtk01 since that implements simple, straightforward use of libplplttcltk. 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 Yorick front-end to PLplot (yplot.sf.net); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel