#1043 reg and dde package have bad pkgIndex during debug build

obsolete: 8.2.1

OriginalBugID: 3254 Bug
Version: 8.2.1
SubmitDate: '1999-10-29'
LastModified: '1999-11-02'
Severity: MED
Status: Released
Submitter: wart
ChangedBy: hobbs
OS: All Windows
FixedDate: '1999-11-02'
FixedInVersion: 8.2.2
ClosedDate: '2000-10-25'

Build Tcl from source on Windows using the "--enable-symbols" configure switch. Install the built Tcl into some directory. Now try to "package require Reg". It fails because the pkgIndex file contains the wrong name for the reg .dll.

It appears that we are using a static pkgIndex file for the reg and dde packages. The refer to the dll names by "tclreg82.dll". But when --enable-symbols is specified, the dll name is "tclreg82d.dll".

To fix: The configure script should generate the pkgIndex.tcl files for the reg and dde packages.

Fixed the pkgIndex.tcl files to test on whether tcl_platform(debug)
exists, and load the 'd' version if so. This isn't auto-gen'ing of
the pkgIndex.tcl file, but works. We should probably rename the
libraries so that they don't include the Tcl version in them anyway.
-- 11/02/1999 hobbs


  • Brent B. Welch

    Brent B. Welch - 2000-10-26
    • priority: 5 --> 2
    • status: open --> closed-fixed
  • Don Porter

    Don Porter - 2001-04-05
    • labels: 104245 --> 53. Configuration and Build Tools