Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a8383344c7e5bd938181b289a77930569a19def8
Ticket: 219104ffffffffffffffffffffffffffffffffff
Patch to Fix Tcl/Tk for windows (mingw) problems
User & Date: nobody on 2000-10-26 01:10:50
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 5973 Bug
    Version: 8.4a1
    SubmitDate: '2000-07-06'
    LastModified: '2000-07-07'
    Severity: CRIT
    Status: Released
    Submitter: techsupp
    ChangedBy: ericm
    OS: Linux-Red Hat
    FixedDate: '2000-07-07'
    FixedInVersion: 8.4a2
    ClosedDate: '2000-10-25'
    
    
    Name:
    Mo DeJong
    
    CVS:
    Fri Jun 30
    
    ReproducibleScript:
    It is not possible to use the tclConfig.sh and tkConfig.sh files
    for the windows versions of Tcl/Tk because of a couple of small
    problem. That attached patch fixes these problems.
    
    ObservedBehavior:
    Undefined vars in the .sh files.
    
    Patch:
    Index: win/configure.in
    ===================================================================
    RCS file: /cvsroot/tcl/win/configure.in,v
    retrieving revision 1.23
    diff -u -r1.23 configure.in
    --- configure.in        2000/06/13 21:01:06     1.23
    +++ configure.in        2000/06/30 23:35:40
    @@ -93,7 +93,7 @@
     TCL_UNSHARED_LIB_SUFFIX="\${NODOT_VERSION}${LIBSUFFIX}"
     TCL_EXPORT_FILE_SUFFIX="\${NODOT_VERSION}${LIBSUFFIX}"
     
    -eval "TCL_SRC_DIR=`cd $srcdir; pwd`"
    +eval "TCL_SRC_DIR=`cd $srcdir/..; pwd`"
     eval "TCL_STUB_LIB_FILE=${LIBPREFIX}tclstub$VER${LIBSUFFIX}"
     eval "TCL_DLL_FILE=tcl$VER${DLLSUFFIX}"
     eval "TCL_LIB_FILE=${LIBPREFIX}tcl$VER${LIBSUFFIX}"
    Index: win/tclConfig.sh.in
    ===================================================================
    RCS file: /cvsroot/tcl/win/tclConfig.sh.in,v
    retrieving revision 1.4
    diff -u -r1.4 tclConfig.sh.in
    --- tclConfig.sh.in     2000/06/20 21:30:34     1.4
    +++ tclConfig.sh.in     2000/06/30 23:35:40
    @@ -11,14 +11,7 @@
     #
     # RCS: @(#) $Id: tclConfig.sh.in,v 1.4 2000/06/20 21:30:34 ericm Exp $
     
    -
    -TCL_SRC_DIR="@TCL_SRC_DIR@"
    -TCL_LIB_FILE="@TCL_LIB_FILE@"
     TCL_DLL_FILE="@TCL_DLL_FILE@"
    -TCL_STUB_LIB_FILE="@TCL_STUB_LIB_FILE@"
    -
    -
    -
     
     # Tcl's version number.
     TCL_VERSION='@TCL_VERSION@'
    
    
    
    
    Index: win/configure.in
    ===================================================================
    RCS file: /cvsroot/tk/win/configure.in,v
    retrieving revision 1.18
    diff -u -r1.18 configure.in
    --- configure.in        2000/06/13 21:07:35     1.18
    +++ configure.in        2000/06/30 23:42:29
    @@ -88,6 +88,12 @@
     
     SC_PROG_TCLSH
     
    +#------------------------------------------------------------------------
    +# tkConfig.sh refers to this by a different name
    +#------------------------------------------------------------------------
    +
    +TK_SHARED_BUILD=${SHARED_BUILD}
    +
     #--------------------------------------------------------------------
     # Perform final evaluations of variables with possible substitutions.
     #--------------------------------------------------------------------
    @@ -96,7 +102,7 @@
     TK_UNSHARED_LIB_SUFFIX="\${NODOT_VERSION}${LIBSUFFIX}"
     TK_EXPORT_FILE_SUFFIX="\${NODOT_VERSION}${LIBSUFFIX}"
     
    -eval "TK_SRC_DIR=`cd $srcdir; pwd`"
    +eval "TK_SRC_DIR=`cd $srcdir/..; pwd`"
     eval "TK_STUB_LIB_FILE=${LIBPREFIX}tkstub$VER${LIBSUFFIX}"
     eval "TK_DLL_FILE=tk$VER${DLLSUFFIX}"
     eval "TK_LIB_FILE=${LIBPREFIX}tk$VER${LIBSUFFIX}"
    @@ -138,7 +144,7 @@
     AC_SUBST(CFG_TK_SHARED_LIB_SUFFIX)
     AC_SUBST(CFG_TK_UNSHARED_LIB_SUFFIX)
     AC_SUBST(CFG_TK_EXPORT_FILE_SUFFIX)
    -dnl AC_SUBST(TCL_SHARED_BUILD)
    +AC_SUBST(TK_SHARED_BUILD)
     
     AC_SUBST(PATHTYPE)
     AC_SUBST(CYGPATH)
    
    PatchFiles:
    (Tcl)
        win/configure.in
        win/tclConfig.sh.in
        
        (Tk)
        win/configure.in
    
    
    
    Per your request on TCLCORE, I'm closing this bug report.
    
       Eric Melski                            The Other Tcl Guy
       ericm at ajubasolutions.com            Ajuba Solutions
     
    -- 07/07/2000 ericm
    
  4. foundin changed to: "obsolete: 8.4a1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "Patch to Fix Tcl/Tk for windows (mingw) problems"
  11. type changed to: "Bug"