Opened 18 years ago

Closed 18 years ago

#1720 closed defect (fixed)

Tcl and Tk versions 8.4.11 and 8.4.12 configure error with bash-3.1

Reported by: np@… Owned by: blfs-book@…
Priority: high Milestone: 6.2.0
Component: BOOK Version: SVN
Severity: major Keywords:
Cc:

Description

Overview description : ./configure command for Tcl-8.4.11, Tcl-8.4.12, Tk-8.4.11 and Tk-8.4.12 fails if performed from bash-3.1 (using bash-3.00.16 does not show the error)

Steps to reproduce : Follow instructions from the BLFS book (changing 8.4.11 to 8.4.12 where needed) until ./configure --prefix=/usr --enable-threads

Result : Tcl-8.4.11 : ./configure: line 7624: syntax error near unexpected token `)' ./configure: line 7624: ` OSF*)' Tcl-8.4.12 : ./configure: line 7653: syntax error near unexpected token `)' ./configure: line 7653: ` OSF*)' Tk-8.4.11 : ./configure: line 5963: syntax error near unexpected token `(' ./configure: line 5963: case (ac_space=' '; set | grep ac_space) 2>&1` in' Tk-8.4.12 : ./configure: line 6067: syntax error near unexpected token `(' ./configure: line 6067: case (ac_space=' '; set | grep ac_space) 2>&1` in'

The fix recommanded in LFS/chapter 5 :

cp configure{,.orig} && sed "s/relid'/relid/" configure.orig > configure

solves the problem for both Tcl and Tk versions 8.4.11 and 8.4.12

Build 2005-12-19 on i686-pc-linux-gnu following BLFS SVN-20051219

Change History (1)

comment:1 by Randy McMurchy, 18 years ago

Milestone: future6.2
rep_platform: PCAll
Resolution: fixed
Severity: normalmajor
Status: newclosed

Added sed commands to the Tcl and Tk instructions to fix the syntax errors in the configure scripts.

Note: See TracTickets for help on using tickets.