Hi Arjen: I am virtually positive your fairly recent commit for bindings/tk/pkgIndex.tcl.in to fix up the Cygwin case is not correct.
The code currently looks like this: if {[string match "*CYGWIN*" $::tcl_platform(os)]} { set stem cygplplottcltk@LIB_TAG@-@plplottcltk_SOVERSION@ } else { set stem tk } It appears to me that Cygwin-related logic block is searching for the Cygwin version of the plplotcltk library to dynamically load. Instead, that code should be searching for the tk dll (like it does for the non-Cygwin logic block above), i.e., the tk device driver dll. That dll does depend on the plplotcltk library but also adds key other functionality that should be necessary in order for package require Pltk to give the correct results under wish. (You may have compensated elsewhere for that issue so that Cygwin mostly works, but if you address this issue, I suspect that "package require Pltk" under wish will provide more reliable results on Cygwin. N.B. the remarks above apply _only_ to bindings/tk/pkgIndex.tcl.in. In contrast to that case, for the bindings/tcl/pkgIndex.tcl.in case, it is actually the plplottcltk library that should be dynamically loaded (so that "package require Pltcl" gives the correct results under tclsh). And for the bindings/tk-x-platform/pkgIndex.tcl.in case it is the tkwin dll that should be dynamically loaded (so that "package require Plplotter" gives the correct results under wish). 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 __________________________ ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel