Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2009-03-15
01:08 • Closed ticket [1368254fff]: tcl.m4 default library and include search paths ... artifact: e2bffea546 user: dkf
2009-03-14
11:43 • Ticket [1368254fff]: 4 changes artifact: 71c0405c74 user: stwo
2005-12-06
00:38 • Add attachment patch to ticket [1368254fff] artifact: 5e9a74ddf9 user: bugant
00:38 • Ticket [1368254fff] tcl.m4 default library and include search paths status s... artifact: 007a19b84c user: bugant
2005-11-28
21:30 • Ticket [1368254fff]: 1 change artifact: 7b2da1ece0 user: bugant
21:28 • Ticket [1368254fff]: 4 changes artifact: 4da8ed4c9d user: bugant
21:28 • Add attachment tclm4.diff to ticket [1368254fff] artifact: ca22973ede user: bugant
14:28 • New ticket [1368254fff] tcl.m4 default library and include search paths. artifact: b9bf464381 user: bugant

tcl.m4 default library and include search paths

Closed / Rejected1368254fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 18 years ago
Descriptionplain2005-11-28 14:28:29
Working with TEA 3.3 I found that I always need to use
--with-tcl
and --with-tclinclude to make my extensions compile.

That's because by default tea searches for tclConfig.sh
in places like /usr/lib or /usr/local/lib but many
systems, such as ubuntu, debian, OpenBSD, place it on
/usr/lib/tcl8.4 or /usr/local/lib/tcl8.4

The same happens with tcl.h that is searched into
/usr/local/include or /usr/include;

The patch is a simply (and tcl version hard-coded) way
to avoid the strong usage of these configure options.

It should be better to do this looking on the deault
paths and adding them a version dependent string but I
don't figure out how to do this.
bugantplain2005-11-28 21:28:31
File Added - 157813: tclm4.diff
bugant Ticket [1368254fff]: 1 change [History diff]2005-11-28 21:30:02
bugantplain2005-12-06 00:38:58
File Added - 158730: patch
stwoplain2009-03-14 11:43:38
Recommend closing because:
The idea is partially ok but the patches are way off.
It is usually better to supply --with-tcl in order to avoid ambiguity.
The switch --with-tclinclude should not be necessary if Tcl is properly configured and installed.
Alternatively, even more paths could be added to the list of directories to search. This approach will of course get uglier with future versions.
dkfplain2009-03-15 01:08:29
allow_comments - 1
Log in (anonymous is fine) to add a comment.

Attachments: