Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5327740c03c5317c4fe2ddfdbfbd1840ce6a7acd
Ticket: 1391392fffffffffffffffffffffffffffffffff
configure crashes with bash 3.1 in two macros
User & Date: nobody on 2005-12-27 19:08:49
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    I attempted to build tcl 8.4.12 on my Linux system with
    a bash 3.1 shell.  The configure script failed as follows:
    
    checking system version (for dynamic loading)...
    ../configure: line 7653: syntax error near unexpected
    token `)'
    ../configure: line 7653: `      OSF*)'
    
    I tracked the problem down to the following line (2484
    in the shipped configure script):
    
      system=MP-RAS-`awk '{print }' /etc/.relid'`
    
    Note the extra ' just before the final back-quote. This
    is the cause of the problem.  Later on, the same issue
    appears again at line 7640.
    
    The two occurrences of the offending line appear to
    come from the macros SC_CONFIG_CFLAGS and
    SC_BLOCKING_STYLE, defined in the Tcl-specific autoconf
    macros in unix/tcl.m4. It looks like a typo to me.
    Removing the extra quote lets the script run correctly.
    
    Since 8.4.12 presumably would not have shipped with a
    bad configure script, I'm assuming that older versions
    of bash were less picky about quote parsing.
    
    For additional info, please contact me at
    [email protected] .
    
  4. foundin changed to: "obsolete: 8.4.12"
  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: "53. Configuration and Build Tools"
  10. title changed to: "configure crashes with bash 3.1 in two macros"
  11. type changed to: "Bug"