Tk Source Code

View Ticket
Login
Ticket UUID: 220297
Title: Can't find a usable tk.tcl i
Type: Bug Version: obsolete: 8.3
Submitter: welch Created on: 2000-10-31 23:08:22
Subsystem: 84. Unix Build Assigned To: nobody
Priority: 1 Zero Severity:
Status: Closed Last Modified: 2001-04-26 06:07:05
Resolution: Invalid Closed By: dgp
    Closed on: 2001-04-25 23:07:05
Description:
OriginalBugID: 5173 RFE
Version: 8.3
SubmitDate: '2000-04-19'
LastModified: '2000-04-19'
Severity: MED
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: Solaris
OSVersion: solaris 7
Machine: sun ultra 5
ClosedDate: '2000-04-19'


Name: WArren Dodge

DesiredBehavior:
Better searching for components needed by tcl/tk

tcl built this way
/configure  --prefix=/vol/tcltk/tcl8.3.0/sun5.7 --enable-gcc --verbose --enable-shared

tk built this way
./configure  --prefix=/vol/tcltk/tk8.3.0/sun5.7 --with-tcl=/vol/tcltk/tcl/sun5.7/lib --enable-gcc --verbose --enable-shared

This all built but when I run wish this comes out

wish
Application initialization failed: Can't find a usable tk.tcl in the following directories: 
    /vol/tcltk/tcl8.3.0/sun5.7/lib/tk8.3 /lib/tk8.3 /lib/tk8.3 /library /library /tk8.3/library /tk8.3/library

This probably means that tk wasn't installed properly.

It seems odd that wish didn't look in the tk path for the file.



You just need to install Tk first, or set the TK_LIBRARY path
in your shell temporarily to test.  The 'make test' will do
this for you.  Tk is built such that it looks by default in
the directory you would install it in. 
-- 04/19/2000 hobbs