Hi Andrew, I solved the issue by using the macros TCL_MAJOR_VERSION and TCL_MINOR_VERSION. That way building the Tcl/Tk bindings for PLplot is independent of the version of tclsh, but instead relies exclusively on the Tcl include files.
Regards, Arjen On 2010-01-27 17:37, Andrew Ross wrote: > Cmake code tends to do this kind of thing by searching through directories > in decreasing version order. I think the "correct" thing to do is > 1) Find tclsh > 2) Find the version of tcl associated with it > 3) Only search in directories with that version number > I've also been bitten by this myself in the past. I worked around it > using update-alternatives under Ubuntu, but it's not really a proper > solution. > ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel