Skip to content
Tcl Source Code View Ticket
Login

View Ticket

configure fails with bash 3.1

Closed / Duplicate1379548fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-12-13 14:44:15
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:05:58
Logged In: YES 
user_id=80530


dup 1377619
dgp Ticket [1379548fff]: 2 changes [History diff]2005-12-14 00:05:59
Log in (anonymous is fine) to add a comment.