On Fri, Jan 11, 2008 at 01:41:27PM -0800, Alan Irwin wrote:
> On 2008-01-11 17:38+0100 Arjen Markus wrote:
> 
> > As for the Tcl version, 8.5 versus 8.4 or lower, you can use
> > the following script:
> > 
> > puts [package vsatisfies [info patchlevel] 8.5]
> 
> > [...]So you will have to resort to CMake commands, but that should be easy.
> 
> Thanks for that suggested test.  I have just committed (revision 8130) the
> first try at running your test with CMake (although you could have done that
> yourself... :-)).  Let me know whether it automatically sets HAVE_TCL_GT 84
> properly for you.
> 
> Note, FindTclsh.cmake looks for tclsh before it tries the versioned forms,
> and I think this is the correct behaviour, but that causes a problem on
> Debian testing because for some strange reason their tcl 8.5 package
> installs tclsh8.5, but does not symlink tclsh to that version.  Instead, the
> tclsh symlink still refers to the 8.4 version.  I think this has something
> to do with the policy that 8.4 is still the default version for Debian
> testing, but it leads to a potentially nasty version inconsistency if you
> are trying 8.5, and I am still trying to figure out the cleanest way to
> avoid this mess.  Can some Debian expert here let me know the best way
> to modify the /etc/alternatives system that is supposed to deal with
> such issues?
> 

Alan,

You need to do update-alternatives to override the default choice for
tclsh. 

update-alternatives --config tclsh

will do it interactively for you.

Andrew

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to