Other sources of information:
Below is a list of common problems that people have with Tycho.cxh@kahn > tycho ld.so.1: itkwish: fatal: libitk2.2.so: can't open file: errno=2 Killed cxh@kahnthen the problem is that the
itkwish
binary cannot find
its shared libraries. If you are using prebuilt Itcl binaries, be
sure that your path is setup so $TYCHO/bin
is before
directory that contains the itkwish
binary.
For example, under C shell:
set path = ($TYCHO/bin $path)If you are using the prebuilt Itcl binaries, the
ITCLDIR
variable
should be set to the location of the untar'd Itcl files.
If you are using Ptolemy, then your path should be set:
set path = ($PTOLEMY/bin $PTOLEMY/bin.$PTARCH $path)
error while autoloading "tk_setPalette": bad option "join": should be atime, dirname, executable, exists, extension, isdirectory, isfile, lstat, mtime, owned, readable, readlink, root, size, stat, tail, type, or writable invoked from within "tk_setPalette activeBackground #e6ceb1 activeForeground black \ background #ffe4c4 disabledForeground #b0b0b0 foreground black \ highlightBackground ..."then you are probably running Itcl2.0, but the
tclIndex
files were prepared with Itcl2.1 or later. Tycho0.2 will not work
with Itcl2.0, you must upgrade to Itcl2.2 or later. See the Installation guide for more information.
Unable to load Tycho.tcl startup file: invalid command name "CircularList"Probably the
$TYCHO/kernel/tclIndex
file is corrupt, try
recreating it by cd
ing to that directory and
typing make
.
bad option "join": should be atime, dirname, executable, exists, extension, isdirectory, isfile, lstat, mtime, owned, readable, readlink, root, size, stat, tail, type, or writable while executing "file join $tycho kernel" invoked from withinthen the problem is that you are running an Itcl2.0
itkwish
, and Tycho0.2 requires Itcl2.2, which
includes the Tcl7.6 file join
command. The way to tell
is to start itkwish
by hand and type
set itcl::versionyou should get back
2.2
if you are running Itcl2.2.
cd $TYCHO make realclean make install
make realclean
removes the tclIndex
files and
doc/codeDoc/*
.
make install
creates the tclIndex
files
and recreates the doc/codeDoc/*
. The
doc/codeDoc/*
files get created once by
tydoc
, then $TYCHO/lib/idx/codeDoc.idx
gets
created, then the tydoc
files get recreated so that they can use
$TYCHO/lib/idx/codeDoc.idx
.
tylndir
to create a new one. tylndir
is documented in $TYCHO/doc/coding/directories.html
One workaround is to use the Color Palette settings and change the
number of colors. To get to this control panel, right click on the
background, select Properties
, which will bring up the
Display Properties
window. In that window, select the
Settings
tab and then change the Color Palette setting.
You may need to to try several different settings before finding one
that works best for you.
itkwish
and then sourcing
$TYCHO/kernel/Tycho.tcl
.
If the tcl variable tyDebug
is set to 1
, then Tycho.tcl
will print out
status messages as it starts up. Also, if tyDebug
is set
to 1
, then Tycho will not automatically exit if there is
an error during startup.
The example below shows how it is possible to start up Tycho from
itkwish
cxh@carson 37% setenv TYCHO ~/pt/tycho cxh@carson 38% cd $TYCHO/kernel cxh@carson 39% itkwish % set tyDebug 1 1 % source Tycho.tcl TYCHO=/users/cxh/pt/tycho Loaded packages Processed argv About to create a TclShell About to unset % exit cxh@carson 40%
Up to: Tycho Introduction -
Previous: Installation -
Tycho Home Page