Menu

#3321 Configure script chokes with bash-3.1

obsolete: 8.4.12
closed-fixed
5
2005-12-12
2005-12-10
No

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

Discussion

  • Don Porter

    Don Porter - 2005-12-12

    Logged In: YES
    user_id=80530

    appears to trace back to
    (two?) errors in tcl.m4

     
  • Don Porter

    Don Porter - 2005-12-12
    • assigned_to: nobody --> hobbs
     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2005-12-12

    Logged In: YES
    user_id=72656

    Fixed post 8.4.12 and in 8.5a4 head.

     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2005-12-12
    • status: open --> closed-fixed