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.


At the test phase, all of the Tcl tests passed.

When I try to run a tcl example myself, I get a black page, e.g., in ps or svg 
or qtwidget, although a largish and valid file in the cases of ps and svg. I 
gather that I don't know how to run Tcl programs.

When I run e.g. a C example and choose device Tcl/TK Window, plserver runs but 
nothing is displayed in what I assume is the plotting part of the window--just 
a white space. When I Quit it, it hangs and has to be force-quit.

When I run a C example and choose New tk driver, the message 

*** PLPLOT ERROR, IMMEDIATE EXIT ***
No tk plframe widget to connect to
Program aborted

appears.

This is pretty much the same behavior that I reported yesterday to the list 
except that we now know that the Tcl examples pass testing.

Unless someone has any more ideas, I'm going to set this aside.

Jerry



------------------------------------------------------------------------------
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

Reply via email to