Hi Alan,

> -----Original Message-----
> From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca]


> >
> > I think in order to avoid coding in package version dependencies where
> > none should exist, make sure your desired tcl package library
> > directories are all properly positioned in auto_path.  E.g. on my Kubuntu 
> > 12.04.3
> box:
> >
> > $ tclsh8.4
> > % puts $auto_path
> > /usr/share/tcltk/tcl8.4 /usr/lib /usr/local/lib/tcltk
> > /usr/local/share/tcltk /usr/lib/tcltk /usr/share/tcltk
> >
> > $ tclsh8.5
> > % puts $auto_path
> > /usr/share/tcltk/tcl8.5 /usr/lib /usr/local/lib/tcltk
> > /usr/local/share/tcltk /usr/lib/tcltk /usr/share/tcltk
> >
> > That first entry enables it to find the right packages.
>

The auto_path variable is computed from the environment variable TCLLIBPATH, 
which is
accessed within Tcl code as $::env(TCLLIBPATH) (:: indicating the global 
namespace). The
environment variable is only used at start-up. This provides the means to 
control the
directories that are searched for packages, but if you want this to be decided 
at build/install time,
then the C macro TCL_DIR may be more useful.

Regards,

Arjen
DISCLAIMER: This message is intended exclusively for the addressee(s) and may 
contain confidential and privileged information. If you are not the intended 
recipient please notify the sender immediately and destroy this message. 
Unauthorized use, disclosure or copying of this message is strictly prohibited. 
The foundation 'Stichting Deltares', which has its seat at Delft, The 
Netherlands, Commercial Registration Number 41146461, is not liable in any way 
whatsoever for consequences and/or damages resulting from the improper, 
incomplete and untimely dispatch, receipt and/or content of this e-mail.

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to