From: SourceForge.net <no...@so...> - 2006-01-01 21:58:55
|
Bugs item #1391392, was opened at 2005-12-27 20:08 Message generated for change (Comment added) made by franck78 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1391392&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 52. Configuration and Build Tools Group: current: 8.4.12 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: configure crashes with bash 3.1 in two macros Initial Comment: I attempted to build tcl 8.4.12 on my Linux system with a bash 3.1 shell. The configure script failed as follows: checking system version (for dynamic loading)... ../configure: line 7653: syntax error near unexpected token `)' ../configure: line 7653: ` OSF*)' I tracked the problem down to the following line (2484 in the shipped configure script): system=MP-RAS-`awk '{print }' /etc/.relid'` Note the extra ' just before the final back-quote. This is the cause of the problem. Later on, the same issue appears again at line 7640. The two occurrences of the offending line appear to come from the macros SC_CONFIG_CFLAGS and SC_BLOCKING_STYLE, defined in the Tcl-specific autoconf macros in unix/tcl.m4. It looks like a typo to me. Removing the extra quote lets the script run correctly. Since 8.4.12 presumably would not have shipped with a bad configure script, I'm assuming that older versions of bash were less picky about quote parsing. For additional info, please contact me at jb...@cs... . ---------------------------------------------------------------------- Comment By: Franck Bourdonnec (franck78) Date: 2006-01-01 22:58 Message: Logged In: YES user_id=1041094 Hello, I confirm this problem (under debian) v 8.4.11 Line 2133 & 7611, configure have extra quote ' after "relid" word. bash with or without bug, it is ALSO a syntax error in tcl configure script system=MP-RAS -`awk '{print }' /etc/relid' ` is false system=MP-RAS -`awk '{print }' /etc/relid ` is correct Error appears twice. Thank you for correcting this because many 'builds' are broken because of this typo! Bye Franck ---------------------------------------------------------------------- Comment By: Tim Mooney (enchanter) Date: 2005-12-27 22:50 Message: Logged In: YES user_id=36222 Patch 001 for bash 3.1 was posted just recently, and it includes fixes for some parsing problems introduced in 3.1. Have you tried that patch to see if it fixes the issue you're running into? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1391392&group_id=10894 |