Sorry, I should have been clearer. The tcl bindings build with tcl8.5,
but the itcl / itk bindings don't. So I think the situation is the same
as yours. The only other thing is that there is a bug in Ubuntu which
requires you to set ITCL_LIBRARY in order for the examples to run
correctly when itcl is used. I submitted a bug report on this some time
ago. Not sure whether it has been fixed in the recently released Ubunutu
Ibex. 

Andrew

On Thu, Nov 27, 2008 at 06:02:54PM -0800, Alan Irwin wrote:
> On 2008-11-27 21:36-0000 Andrew Ross wrote:
> 
> >I also have a problem with tcl. I have tcl 8.5 installed but this
> >doesn't come with itcl so the bindings won't build. Removing all
> >references to 8.5 from cmake/modules/FindTCL.cmake and it
> >does work (I also have tcl 8.4 + itcl installed). This is a bit of a
> >pain, but I'm not sure there is a neat workaround except setting lots of
> >cmake variables explicitly on the cmake command line.
> 
> I have development versions of Tcl/Tk 8.4 and 8.5 packages installed, 
> i.e.,
> 
> ii  tcl8.4-dev                           8.4.19-2                      Tcl
> (the Tool Command Language) v8.4 - devel
> ii  tcl8.5-dev                           8.5.3-2                       Tcl
> (the Tool Command Language) v8.5 - devel
> ii  tk8.4-dev                            8.4.19-2                      Tk
> toolkit for Tcl and X11, v8.4 - developme
> ii  tk8.5-dev                            8.5.3-4                       Tk
> toolkit for Tcl and X11, v8.5 - developme
> 
> and our build system automatically chooses the 8.5 versions (which I think
> is the correct thing to do) by default.  Here is the relevant output from
> cmake:
> 
> -- Looking for include paths and libraries for Tcl/Tk
> -- Looking for include paths and libraries for Tcl/Tk - found
> -- Looking for tclsh
> -- Looking for tclsh - found
> -- TCL_TCLSH = /usr/bin/tclsh
> -- HAVE_TCL_GT_84 = 1
> -- TCL_INCLUDE_PATH = /usr/include/tcl8.5
> -- TCL_LIBRARY = /usr/lib/libtcl8.5.so
> -- Looking for itcl.h
> -- Looking for itcl.h - not found
> -- WARNING: Disabling incr Tcl interface code
> -- TK_INCLUDE_PATH = /usr/include/tcl8.5;/usr/include
> -- TK_LIBRARY = 
> /usr/lib/libtk8.5.so;/usr/lib/libSM.so;/usr/lib/libICE.so;/usr/lib/libX11.so;/usr/lib/libXext.so
> -- Looking for itk.h
> -- Looking for itk.h - not found
> -- WARNING: Disabling incr Tk interface code
> 
> There were no build problems and no ctest problems.  My understanding is
> there is only a very small part of our TK GUI that is implemented with
> itcl/itk so the above itcl/itk warnings should not be a major concern.
> 
> >From what you say above it sounds like your Tcl/Tk experience on your 
> >Ubuntu
> Hardy platform is not as good as mine on Debian lenny.  What specifically
> is going wrong for you?
> 
> 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 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
> __________________________
> 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to