Tk Source Code

View Ticket
Login
Ticket UUID: 573681
Title: tkConfig.sh.in substitution error
Type: Bug Version: None
Submitter: tomk Created on: 2002-06-25 15:38:17
Subsystem: 84. Unix Build Assigned To: mdejong
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2002-07-24 04:11:08
Resolution: Fixed Closed By: tomk
    Closed on: 2002-07-23 21:11:08
Description:
On my HP-UX 11.00 system the configure script for tk
results in a tkConfig.sh file that contains the
following line.

TK_XINCLUDES='# no special path needed'

I believe this entry should be

TK_XINCLUDES=''

I down loaded tk from
ftp://ftp.tcl.tk/pub/tcl/nightly-cvs/
User Comments: tomk added on 2002-07-24 04:11:08:
Logged In: YES 
user_id=25525

FYI - The code that was giving me problems is the genkit
command used to building tclkit. It uses the following tcl
code when creating a compile string for gcc.
eval lappend I -I$P/src/tk/generic $TK_XINCLUDES
This results in something that looks like:
<..snip..>-I/home/rna020/UNPACK/Tcl_Tk/NEWtclVer/src/tk/generic
{# no special path needed} -DNDEBUG -DTCL_LOCAL <..snip..>

mdejong added on 2002-07-24 00:25:49:
Logged In: YES 
user_id=90858

Sorry, I had not noticed that you added a patch file.
Your change looked ok and did not seem to break
anything so I added it to the CVS.

tomk added on 2002-07-23 22:21:33:
Logged In: YES 
user_id=25525

I added a patch file to this bug report last week at Don's
request. It is in the "Files" section of this page. Please
use it to fix the problem.

mdejong added on 2002-07-23 04:31:15:
Logged In: YES 
user_id=90858

What exactly is the compiler error you are seeing?
I am not sure why the macro was written that way,
but it seems like that output was what was intended.
I am closing this bug report, if you come up with
a patch feel free to attach it and I will reopen.

tomk added on 2002-07-17 02:58:35:

File Added - 27157: tcl.m4.patch

dgp added on 2002-07-12 02:15:11:
Logged In: YES 
user_id=80530


The flaw is in SC_PATH_X of tcl.m4, right?
Can you try fixing and testing, then submitting a patch?

tomk added on 2002-07-12 00:42:51:
Logged In: YES 
user_id=25525

I downloaded the Tcl/Tk 8.4b1 version from
http://www.tcl.tk/software/tcltk/8.4.html and it still has
the problem. This bug prevents builds from completing and is
difficult to fix.

Attachments: