Installations of different Tcl versions clash
Closed / Out of Date219178ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 25 years ago
Descriptionplain2000-10-26 05:02:53
OriginalBugID: 1947 RFE Version: 8.0.4 SubmitDate: '1999-04-27' LastModified: '2000-01-18' Severity: LOW Status: Assigned Submitter: pat ChangedBy: hobbs OS: All Unix FixedDate: '2000-10-25' FixedInVersion: NA ClosedDate: '2000-10-25' Name: Paul Duffin ReproducibleScript: If I install Tcl 8.0 and Tcl 8.1 into the same root directory e.g. /usr/local then the tclConfig.sh files clash. Whichever was installed latest overwrites the previous one. This applies to Tk as well. DesiredBehavior: I expect the two versions to coexist. What I think should happend is that all of the files which are installed in the lib directory should be put into a lib/tcl8.0 or lib/tcl8.1 directory instead. This will ensure that there is no collision of files in the future and will stop the lib directory from being polluted with all of these tcl files. This was moved to an RFE because the naming of tcl|tkConfig.sh is by design without the version number. This does not cause a conflict in the running of Tcl - all the binary and runtime library stuff is versioned. This is only for developers who wish to build against multiple versions of Tcl. The original thoughts were that developers would only build against the latest installed version of Tcl. This may not always be what is wanted though. In general, we should do away with tclConfig.sh, since it is too fragile a snapshot of the system anyway. With 8.2+ we are moving towards improving the configure macros (tcl.m4) that we would encourage extension writers to use instead of tclConfig.sh. -- 01/18/2000 hobbs
dkf Ticket [219178ffff]: 1 change
[History diff]2000-11-06 21:58:54
dgp Ticket [219178ffff]: 1 change
[History diff]2001-04-05 08:22:15
andreas_kupriesplain2001-09-08 06:22:36
Logged In: YES user_id=75003 See TIP #59 for a new proposal in this area. http://tcl.activestate.com/cgi-bin/tct/tip/59.html Paul Duffin is <[email protected]>.
hobbsplain2002-03-23 04:52:46
Logged In: YES user_id=72656 This is unfortunately correct, but the unversioned build env is needed to simplify building extensions. This has become mostly a non-issue as 8.0 fades away and stubs support allows cross-version binary compatibility in 8.1+.
Log in (anonymous is fine) to add a comment.