Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6be369c7f329ddd0f59cf074b70542dd55ebdc6b
Ticket: 218294ffffffffffffffffffffffffffffffffff
tclConfig.sh lines not fully evaluated
User & Date: nobody on 2000-10-26 00:55:49
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 3516 Bug
    Version: 8.2.2
    SubmitDate: '1999-11-08'
    LastModified: '1999-12-03'
    Severity: SER
    Status: Closed
    Submitter: techsupp
    ChangedBy: hobbs
    OS: Solaris
    OSVersion: Solaris 7 (SunOS 5.7)
    Machine: SPARC Ultra 5
    FixedDate: '2000-10-25'
    ClosedDate: '1999-12-03'
    
    
    Name:
    Steve Fulmer
    
    Extensions:
    Tix 4.1.0.006
    
    Comments:
    Run "autoconf" to regenerate configure script after applying patch.
    
    ReproducibleScript:
    from tcl8.2.2/unix: ./configure --enable-threads --enable-shared --enable-symbols --prefix=<dir>
    
    ObservedBehavior:
    Several lines in the generated tclConfig.sh are not fully evaluated.  This is not consistent with the tkConfig.sh generated on the same platform, and causes problems for other libraries (Tix, in my case), when they reference these lines.  It seems in places that the configure script for Tk has the necessary extra "eval" statements.
    
    The lines on my platform that are unevaluated are:
    TCL_LIB_FILE='libtcl8.2${TCL_DBGX}.so'
    TCL_LIB_FLAG='-ltcl8.2${TCL_DBGX}'
    TCL_BUILD_LIB_SPEC='-L/home/fulmer/research/upgrade/NOV03/PCP/lib/tcl/unix -ltcl8.2${TCL_DBGX}'
    TCL_LIB_SPEC='-L/home/fulmer/research/upgrade/NOV03/PCP/SunOS5.7/sun4u/lib -ltcl8.2${TCL_DBGX}'
    TCL_SHARED_LIB_SUFFIX='${VERSION}${DBGX}.so'
    TCL_UNSHARED_LIB_SUFFIX='${VERSION}${DBGX}.a'
    TCL_STUB_LIB_FILE='libtclstub8.2${TCL_DBGX}.a'
    TCL_STUB_LIB_FLAG='-ltclstub8.2${TCL_DBGX}'
    TCL_BUILD_STUB_LIB_SPEC='-L/home/fulmer/research/upgrade/NOV03/PCP/lib/tcl/unix -ltclstub8.2${TCL_DBGX}'
    TCL_STUB_LIB_SPEC='-L/home/fulmer/research/upgrade/NOV03/PCP/SunOS5.7/sun4u/lib -ltclstub8.2${TCL_DBGX}'
    TCL_BUILD_STUB_LIB_PATH='/home/fulmer/research/upgrade/NOV03/PCP/lib/tcl/unix/libtclstub8.2${TCL_DBGX}.a'
    TCL_STUB_LIB_PATH='/home/fulmer/research/upgrade/NOV03/PCP/SunOS5.7/sun4u/lib/libtclstub8.2${TCL_DBGX}.a'
    
    DesiredBehavior:
    tclConfig.sh entries fully evaluated where appropriate
    
    Patch:
    fulmer> diff -c configure.in.orig configure.in   
    *** configure.in.orig   Mon Nov  8 16:18:44 1999
    --- configure.in        Mon Nov  8 16:29:16 1999
    ***************
    *** 471,478 ****
      #     building libtcl as a shared library instead of a static library.
      #--------------------------------------------------------------------
    
    ! TCL_UNSHARED_LIB_SUFFIX=${UNSHARED_LIB_SUFFIX}
    ! TCL_SHARED_LIB_SUFFIX=${SHARED_LIB_SUFFIX}
    
      SC_ENABLE_SHARED
    
    --- 471,478 ----
      #     building libtcl as a shared library instead of a static library.
      #--------------------------------------------------------------------
    
    ! eval eval "TCL_UNSHARED_LIB_SUFFIX=${UNSHARED_LIB_SUFFIX}"
    ! eval eval "TCL_SHARED_LIB_SUFFIX=${SHARED_LIB_SUFFIX}"
    
      SC_ENABLE_SHARED
    
    ***************
    *** 518,526 ****
    
      if test "$SHARED_BUILD" = "0" -o $TCL_NEEDS_EXP_FILE = 0; then
          if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
    !         TCL_LIB_FLAG="-ltcl${TCL_VERSION}\${TCL_DBGX}"
          else
    !         TCL_LIB_FLAG="-ltcl`echo ${TCL_VERSION} | tr -d .`\${TCL_DBGX}"
          fi
          TCL_BUILD_LIB_SPEC="-L`pwd` ${TCL_LIB_FLAG}"
          TCL_LIB_SPEC="-L${exec_prefix}/lib ${TCL_LIB_FLAG}"
    --- 518,526 ----
    
      if test "$SHARED_BUILD" = "0" -o $TCL_NEEDS_EXP_FILE = 0; then
          if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
    !         eval TCL_LIB_FLAG="-ltcl${TCL_VERSION}\${TCL_DBGX}"
          else
    !         eval TCL_LIB_FLAG="-ltcl`echo ${TCL_VERSION} | tr -d .`\${TCL_DBGX}"
          fi
          TCL_BUILD_LIB_SPEC="-L`pwd` ${TCL_LIB_FLAG}"
          TCL_LIB_SPEC="-L${exec_prefix}/lib ${TCL_LIB_FLAG}"
    ***************
    *** 568,576 ****
      TCL_STUB_LIB_FILE=${STUB_LIB_FILE}
    
      if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
    !     TCL_STUB_LIB_FLAG="-ltclstub${TCL_VERSION}\${TCL_DBGX}"
      else
    !     TCL_STUB_LIB_FLAG="-ltclstub`echo ${TCL_VERSION} | tr -d .`\${TCL_DBGX}"
      fi
    
      TCL_BUILD_STUB_LIB_SPEC="-L`pwd` ${TCL_STUB_LIB_FLAG}"
    --- 568,576 ----
      TCL_STUB_LIB_FILE=${STUB_LIB_FILE}
    
      if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
    !     eval TCL_STUB_LIB_FLAG="-ltclstub${TCL_VERSION}\${TCL_DBGX}"
      else
    !     eval TCL_STUB_LIB_FLAG="-ltclstub`echo ${TCL_VERSION} | tr -d .`\${TCL_DBGX}"
      fi
    
      TCL_BUILD_STUB_LIB_SPEC="-L`pwd` ${TCL_STUB_LIB_FLAG}"
    
    PatchFiles:
    ./tcl8.2.2/unix/configure.in
    
    
    
    This is the desired behavior as the necessary substitutions
    will be made later when they are used by things like Tk or
    other extensions. 
    -- 12/03/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.2.2"
  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: "tclConfig.sh lines not fully evaluated"
  11. type changed to: "Bug"