Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-12-14
00:06 • Closed ticket [1379560fff]: configure fails with bash 3.1 plus 8 other chang... artifact: ab4c0c2e0e user: dgp
2005-12-13
14:58 • New ticket [1379560fff]. artifact: 8b7c01a8af user: egmont

configure fails with bash 3.1

Closed / Duplicate1379560fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-12-13 14:58:17
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.
dgpplain2005-12-14 00:06:08
Logged In: YES 
user_id=80530

dup 1377619
Log in (anonymous is fine) to add a comment.