Tk Source Code

View Ticket
Login
Ticket UUID: 220952
Title: Tcl/Tk 8.3.2 on SCO OpenServer - briefly.
Type: Bug Version: obsolete: 8.3.2
Submitter: welch Created on: 2000-11-01 01:31:54
Subsystem: 84. Unix Build Assigned To: nobody
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2001-06-20 04:22:27
Resolution: Invalid Closed By: hobbs
    Closed on: 2001-06-19 21:22:27
Description:
OriginalBugID: 6257 Bug
Version: 8.3.2
SubmitDate: '2000-09-12'
LastModified: 
Severity: SER
Status: UnAssn
Submitter: techsupp
OS: Other
OSVersion: SCO OpenServer 5.0.5
Machine: Dell PowerEdge 2300


Name:
Krzysztof Hrebeniuk

Comments:
When tcl/tk is compiled as shared library, but with some extensions
    compiled in staticaly, everything works O.K. - but this is the source
    of further troubles in compilation of the other tcl/tk extensions -
    for example BLT.

ObservedBehavior:
Installing Tcl/Tk 8.3.2 on SCO OpenServer 5.0.5 with gcc 2.95.2
---------------------------------------------

Because no one has answered to my bug report till now, I will try to narrow
the problem:

1) tcl compiles an runs without any difficulties (./configure, make, make install) with LD_RUN_PATH variable set to /usr/local/lib.

2) in tclsh prompt the command "encoding system" returns "iso8859-2"
and string tolower (toupper) commands work as expected -
LANG is set to pl_PL.ISO8859-2.

3) tk also compiles and runs - only X11_LIB_SWITCHES parameter
had to be changed from -L/usr/lib -lX11 to -lX11 in Makefile

4) in wish prompt the command "encoding system" returns "identity"
and string tolower (toupper) commands don't work correctly.
As a result, all letters specific to my language are displayed
incorrectly in all tk widgets.

It looks like tk does not cooperate with tcl library properly.
What to do, if I don't want for some reason to use staticaly
compiled wish?
User Comments: hobbs added on 2001-06-20 04:22:27:
Logged In: YES 
user_id=72656

It looks like the user was trying to create some static 
wish special build, and didn't make a call to 
Tcl_FindExecutable (to find and init encodings properly).