Skip to content
Tcl Source Code View Ticket
Login

View Ticket

"TK_LIBRARY" in tk Makefile not used

Closed / Invalid449684ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-08-10 02:35:11
OS/Platform:  Sun Solaris 7

The tk 8.3.3 unix/Makefile defines "TK_LIBRARY", but
does not appear to use this.  I need to tell tk
specifically where to find its library, since I need to
install it in a custom location, but cannot get it to
use anything other than ".../lib/tk8.3".
dgpplain2001-08-10 23:08:32
Logged In: YES 
user_id=80530


There is no longer a path compiled into Tk
for it to search for its script library.
There hasn't been since around Tk 8.0.3.

Instead, Tk uses [tcl_findLibrary] to find
its library.  You can adjust the search if
you are embedding Tk in a C application.  Is
that what you are doing?

For wish, even if you install Tk/wish in a
location separate from Tcl/tclsh (Why?), as
long as the script library is installed in
directory ../lib/tk$version relative to where
wish is installed, there should still be no
problem.

What strange installation pattern, exactly,
is it that you think we need to support?
dgpplain2001-08-12 06:48:30
Logged In: YES 
user_id=80530


Taking another look, this issue isn't even in Tcl.
It's in Tk.  If after reading the other comment,
this is still something you believe needs changing,
please report the issue again but this time to the
'tktookit' project.  Include the details requested
in the previous comment when re-filing.
Log in (anonymous is fine) to add a comment.