Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b1cbef841be453cf441545ec94795c9bc4d94cb5
Ticket: 1379548fffffffffffffffffffffffffffffffff
configure fails with bash 3.1
User & Date: egmont on 2005-12-13 14:44:15
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    configure script of tcl-8.4.14 and tk-8.4.12 fails with 
    the brand new bash-3.1 shell, it complains about syntax 
    error. (I haven't tested tcl/tk 8.5 series.)
    
    The problem is caused by the following lines in unix/
    configure:
    
    system=MP-RAS-`awk '{print }' /etc/.relid'`
    
    (There are two occurances in tcl and one in tk.)
    
    Notice that there are 3 normal apostrophes between the 
    two backticks. Hence in new bash the backtick at the 
    end doesn't close the opening one (the single-quoted 
    string takes precedence), and it thinks an extremely 
    long string begins here. So it also prints a completely 
    unusable error message.
    
    To fix it: remove the third normal apostrophe:
    system=MP-RAS-`awk '{print }' /etc/.relid`
    
    I know that the configure script is auto-generated, 
    hence I don't send a patch. I don't know where this 
    code is originated from.
    
    
  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: "egmont"
  9. subsystem changed to: "53. Configuration and Build Tools"
  10. title changed to: "configure fails with bash 3.1"
  11. type changed to: "Bug"