On 2012-08-22 21:31-0700 Jerry wrote: > > On Aug 22, 2012, at 9:45 AM, Alan W. Irwin wrote: > >>> Following the instructions in README.tkdemos: >> >> Hmm. Those instructions may be dated, make Linux-based assumptions, >> have unmentioned dependencies etc. You might also be using versions of >> Tcl or Tk that are not consistent with the ones used to build PLplot >> (which would almost be guaranteed to produce bad results). So please >> rebuild from scratch using the CMake option -DBUILD_TEST=ON (if that >> isn't what you use at the moment) and then try the following tests >> >> make test_tk_01 >> make test_tk_02 >> make test_tk_03 >> make test_tk_04 >> >> (These are all dependencies of the much larger test target >> "test_interactive" which you might want to try some day when >> you get all the interactive pieces such as the above tests >> working properly.) >> >> All of the above tests work fine for me on Linux. If any of the above >> tests don't run on your platform, I am not sure I can help you further >> since I am not a Tcl/Tk expert, but at least those with Tcl/Tk >> expertise here will know exactly what was run (see >> examples/CMakeLists.txt for the details and all the dependencies that >> have to be satisfied) if you do find any problems with the above >> tests. >> >> Alan > > Alan, I tried your suggestions. I blocked the MacPorts stuff so that only the > factory Tcl/Tk stuff is visible. When building, I saw > > Scanning dependencies of target test_tk_01 > make -f examples/CMakeFiles/test_tk_01.dir/build.make > examples/CMakeFiles/test_tk_01.dir/build > cd /usr/local/plplot_build_dir/examples && tk/xtk01 -f > /usr/local/plplot_build_dir/examples/tk/tk01 > X Error of failed request: BadWindow (invalid Window parameter) > Major opcode of failed request: 2 (X_ChangeWindowAttributes) > Resource id in failed request: 0x21a5a690 > Serial number of failed request: 30 > Current serial number in output stream: 33 > make[3]: *** [examples/CMakeFiles/test_tk_01] Error 1 > make[2]: *** [examples/CMakeFiles/test_tk_01.dir/all] Error 2 > make[1]: *** [examples/CMakeFiles/test_tk_01.dir/rule] Error 2 > make: *** [test_tk_01] Error 2 > make: *** No rule to make target `test_tk_02'. Stop. > > and similar output for test_tk_03 and test_tk_o4.
Hi Jerry: Do you have success with any other X application? The reason I ask is the above error message may simply mean that X is badly installed on your platform. Of course, if X were badly installed on Linux it would be catastrophic since X is so important on that platform, but my understanding is that X is not very important on Mac OS X. Therefore, on that platform you might have a bad X installation and not know about it (except by running some classical X applications such as xterm, xeyes, oclock, etc.) 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 __________________________ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel