Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Configure script chokes with bash-3.1

Closed / Fixed1377619fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-12-10 09:53:09
Hi,

With bash-3.1 installed as /bin/sh, the Tcl (and Tk)
configure scripts choke with a syntax error.

checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
checking system version (for dynamic loading)...
./configure: line 7653:
syntax error near unexpected token `)'
./configure: line 7653: `       OSF*)'

It seems the latest Bash is better at finding bad
scripts. There is an extra ' character (singe quote) on
this line within the autoconfigury:

system=MP-RAS-`awk '{print }' /etc/.relid'`

Fix should be self explanatory. This sed will work
around the problem for now:

  cd unix
  sed -i.bak "s/relid'/relid/" configure

Thanks
dgpplain2005-12-13 02:01:51
Logged In: YES 
user_id=80530


appears to trace back to
(two?) errors in tcl.m4
hobbsplain2005-12-13 03:58:42
Logged In: YES 
user_id=72656

Fixed post 8.4.12 and in 8.5a4 head.
Log in (anonymous is fine) to add a comment.