This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
Re: [PATCH] Use system Tcl et al
Keith> A clean build of libgui fails with no tcl, tk, itcl? What's the
Keith> failure? Do you have the -devel packages installed?
Tom> Whoops, sorry about that. I had itcl-devel but not the others. I'm
Tom> rebuilding now.
Ok. I deleted tcl,tk,itcl from the source tree. I have
tcl,tk,itcl,iwidgets and -devel packages all installed. I built --
went fine.
However, insight does not start up:
opsy. ./install/bin/insight
Error: Can't find a usable itcl.tcl in the following directories:
/usr/share/itcl3.3 /home/tromey/gnu/baseline-gdb/install/bin/../lib/itcl3.3 /home/tromey/gnu/baseline-gdb/install/bin/../lib64/itcl3.3 /home/tromey/gnu/baseline-gdb/install/bin/../library /home/tromey/gnu/baseline-gdb/install/bin/../../library /home/tromey/gnu/baseline-gdb/install/bin/../../itcl/library /home/tromey/gnu/baseline-gdb/install/bin/../../../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.
That /usr/share is funny ... the file is actually in /usr/lib.
FWIW if I run tclsh and 'package require' each of Itcl,Itk,Iwidgets, it
works just fine.
Tom