On 2007-11-11 22:18-0000 Andrew Ross wrote:

> To run ctest with the tcl bindings required setting ITCL_LIBRARY (see
> debian/rules for details). Rafael discovered this, but we don't yet
> know why.

Thanks for the tip.

The explicit error message (for each tcl application) was

Testing front-end tcl
application-specific initialization failed: Can't find a usable itcl.tcl in the 
following directories:
     /usr/share/tcltk/itcl3.2 
/home/software/plplot_cvs/HEAD/build_dir/examples/../utils/../lib/itcl3.2 
/home/software/plplot_cvs/HEAD/build_dir/examples/../utils/../library 
/home/software/plplot_cvs/HEAD/build_dir/examples/../utils/../../library 
/home/software/plplot_cvs/HEAD/build_dir/examples/../utils/../../itcl/library 
/home/software/plplot_cvs/HEAD/build_dir/examples/../utils/../../../itcl/library
This probably means that Itcl/Tcl weren't installed properly.
If you know where the Itcl library directory was installed,
you can set the environment variable ITCL_LIBRARY to point
to the library directory.

invalid command name "plinit"
invalid command name "plgdev"
invalid command name "plgdev"
invalid command name "plgdev"
invalid command name "plgdev"

I then followed those directions and set

export ITCL_LIBRARY=/usr/lib/itcl3.2

which is the directory where itcl.tcl is installed on Debian testing (and
also debian oldstable, debian stable, and debian unstable).  So there is
nothing wrong with the install location.  Furthermore, there were no such
problems finding itcl.tcl when I built all the tcl stuff and ctested it on
debian oldstable.

Thus, the likely cause of this problem is that the itcl3 package for Debian
testing has been misconfigured compared to Debian oldstable.

Andrew, what is the Ubuntu story?  Do you have the same trouble finding
itcl.tcl there?  Or is this strictly a problem limited to certain Debian
distros (not oldstable, maybe stable, definitely testing, and [from Rafael's
and your experience] unstable as well).

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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to