Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-12-06
00:33 • Closed ticket [1245329fff]: TEA_PUBLIC_TCL_HEADERS: uninstalled Tcl plus 8 o... artifact: 0e6143f703 user: dgp
00:27 • Ticket [1245329fff]: 4 changes artifact: 1256ae7e02 user: dgp
00:27 • Ticket [1245329fff]: 4 changes artifact: a2aa5ed0d9 user: dgp
00:27 • Add attachment 1245329.patch to ticket [1245329fff] artifact: 90d892b699 user: dgp
2005-11-15
05:06 • Ticket [1245329fff] TEA_PUBLIC_TCL_HEADERS: uninstalled Tcl status still Ope... artifact: fad30bf60d user: jenglish
2005-07-26
23:05 • Ticket [1245329fff]: 2 changes artifact: f470a1ad4d user: dgp
23:04 • Ticket [1245329fff]: 4 changes artifact: 85ad7077e4 user: dgp
23:03 • Ticket [1245329fff]: 5 changes artifact: 1c3ae12749 user: dgp
15:31 • New ticket [1245329fff]. artifact: 4e98b210fc user: dgp

TEA_PUBLIC_TCL_HEADERS: uninstalled Tcl

Closed / Accepted1245329fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-07-26 15:31:10
TEA_PUBLIC_TCL_HEADERS has
problems similar to those of
TEA_PROG_TCLSH getting
corrected in 1160114.

What's wanted by an extension is
the location of the header files that
match the tclConfig.sh file found.
A check for "Makefile" in $TCL_BIN_DIR
is the way to distinguish between an
installed tclConfig.sh and an uninstalled
one.  The best search order for header
files is different in those cases.

The current list of directories searched
by TEA_PUBLIC_TCL_HEADERS
for tcl.h works well for installed Tcl,
but can point to headers of the wrong
version of Tcl, when an uninstalled
tclConfig.sh file forms the configuration
basis.
dgpplain2005-07-26 23:03:57
Logged In: YES 
user_id=80530


Here's a patch.  If this looks
acceptable, similar changes to
TEA_PUBLIC_TK_HEADERS
should also be done.
dgpplain2005-07-26 23:04:02
File Added - 143369: 1245329.patch
dgp Ticket [1245329fff]: 2 changes [History diff]2005-07-26 23:05:29
jenglishplain2005-11-15 05:06:35
Logged In: YES 
user_id=68433

Looks reasonable -- but is there any reason to check in
${TCL_BIN_DIR}/../include (i.e., relative to the location of
tclConfig.sh)?
dgpplain2005-12-06 00:27:46
Logged In: YES 
user_id=80530


this just bit me again.
taking action...

Updated patch covers Tk
header search as well as Tcl.
dgpplain2005-12-06 00:27:47
File Deleted - 143369: 



File Added - 158728: 1245329.patch
dgpplain2005-12-06 00:33:09
Logged In: YES 
user_id=80530

committed.
Log in (anonymous is fine) to add a comment.

Attachments: