http://www.scriptics.com/support/bugForm.html
Responses to this post are encouraged.
------
Submitted by: Robert Baker
OperatingSystem: HP-UX
OperatingSystemVersion: 10.20
Extensions: 8.0.3
CustomShell: none
Synopsis: Application initialization failed: Can't find a usable tk.tcl in the following directories:
ReproducibleScript:
I tryed to run a program called wordview
ObservedBehavior:
server1 67: /opt/catdoc/bin/wordview
Application initialization failed: Can't find a usable tk.tcl in the following directories:
/opt/tcl-8.0/tk8.0 /opt/catdoc/lib/tk8.0 /opt/lib/tk8.0 /opt/catdoc/library /opt/library /opt tk8.0 library\] /tk8.0/library
This probably means that tk wasn't installed properly.
DesiredBehavior:
wordview product should start
This is probably an installation problem. The right way to fix this is
to re-install Tk correctly on your system.
However, it's possible you aren't the one who installed Tk. You may not
even have the permissions necessary to do so. If that's the case, first
find out who installs Tk on your machine and let them know about the
trouble. They can fix the installation and make the problem go away.
Meanwhile, here's a work-around so you can still run the program you
wish to run while waiting for the installation problem to be fixed:
If you can run a program named 'wish' (or possibly 'wish8.0'), do so.
A big grey box will appear on your X-windows display, and you will see
a prompt '% ' in the shell window where you started 'wish'.
At the prompt, type:
set tk_library
wish will reply with the name of a directory on your machine. Type
'exit' to end the 'wish' program.
Now that you are back at the shell, set the environment variable
TK_LIBRARY to have as its value the directory reported by 'wish'.
Once that is done, try starting 'worldview' again.
--
| Don Porter, D.Sc. Mathematical and Computational Sciences Division |
| donald...@nist.gov Information Technology Laboratory |
| http://math.nist.gov/mcsd/Staff/DPorter/ NIST |
|______________________________________________________________________|