Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2007-10-16
00:22 • Closed ticket [1811404fff]: TCL 7.3 Compatibility plus 6 other changes artifact: 7c6dffc017 user: dgp
2007-10-12
20:40 • Open ticket [1811404fff]. artifact: e5a835805a user: lcrosario
2007-10-11
23:31 • Ticket [1811404fff]: 1 change artifact: dece8f7fb8 user: dgp
23:31 • Pending ticket [1811404fff]. artifact: ce7a285551 user: dgp
09:29 • New ticket [1811404fff]. artifact: 841a6d50d1 user: lcrosario

TCL 7.3 Compatibility

Closed / Invalid1811404fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-10-11 09:29:15
Hello, I am new in TCL and Linux and I got a tcl file that was created in TCL 7.3 and I am trying to debug and check it, but i can not install it in Suse 10.1!

So my questions are:

Do you know any other TCL version that runs in windows or linux an can debug, check and make files from TCL 7.3? If not, which linux version can I use for doing it?

Thanks

Rosario
dgpplain2007-10-11 23:31:34
Logged In: YES 
user_id=80530
Originator: NO


Believe it or not, most scripts that
ran in the tclsh program for Tcl 7.3
will still run without changes in the
tclsh program for Tcl 8.4.16.  Please
try that, and ask for specific help
about a specific problem if you run
into trouble.

If the problem you are reporting is
simply that you grabbed Tcl 7.3
source code and you can't get it
to build on a modern platform, that's
the way it is.  You can't expect to build
twelve year old source on new systems.
That's a big part of why we bother to
create updated releases.  Platforms move
on.  Build tools move on.  Again
your best bet is to try to use the
currect Tcl release.

If you want to try to hack on the 7.3
sources until they kinda sorta build
on modern systems, you might start
with Tcl Patch 418869.  That covers
releases only as far back as 7.4p3,
but at least some of the issues should
be similar.

I suppose the final option would be
for you to find some dozen years old
Linux release as a proper platform
on which to layer a dozen years old
Tcl release.  Good luck with that.
dgp Ticket [1811404fff]: 1 change [History diff]2007-10-11 23:31:51
lcrosarioplain2007-10-12 20:40:55
Logged In: YES 
user_id=1910691
Originator: YES

Hello dgp, thanks for your answer.

I got some more questions. First of all, I want to explain to you that I am working in a space company, it means that i really have to debug and check these TCL files with version 7.3, cause the newer TCL version may ignore some bugs that in ver. 7.3 could be found. I had some ideas of how to solve this problem and i would like to know if it is possible and safe.

Install ver. 8.4 and delete all the .h files and put the old(7.3) ones in its place. Would it be possible and would it give me the same results of 7.3 for sure?

If it's not possible, which version of Linux can i use to install the TCL 7.3?

Thank you again!
dgpplain2007-10-16 00:22:39
Logged In: YES 
user_id=80530
Originator: NO


You appear to have some very particular needs,
and I need to say that you have not yet communicated
to me a completely clear description of what
those needs are.

*If* you need to do something that involves
building the sources for Tcl 7.3 as they
were released on March 30, 1995 *unchanged*
on a modern linux version, then I'm afraid
you should give up, because you need the
impossible.  Those old sources from 1995
simply do not build on the systems of 2007.

If you need something short of that, it's
possible you can get your needs satisfied.
(Perhaps, getting those sources plus a handful
of modifications to build?  If that's the right
track, then can you characterize how small the
mods ought to be?  Just exactly what is it that
needs testing?).

It's now clear to me that this report isn't
about any bug in any supported version of Tcl,
so this discussion doesn't belong here.  I'm
closing this report.

If you can more precisely describe exactly
what your needs are in the comp.lang.tcl newsgroup,
it's at least reasonably likely someone there
will be able to assist you.

For the record, your idea of some kind of
Franken-source with headers from one release
and other files from another release is 
a BAD BAD BAD BAD BAD idea.  Do not do it.

Your other question -- What version of Linux
to build 7.3 sources?  I'm not certain but
the best starting point would be those
versions of Linux that were released at
about the same time, 1995.  Most of the issues
will not be matters of Linux version so much
as issues of the C library version.
Log in (anonymous is fine) to add a comment.