On 23 Apr, Bas Scheffers wrote:
> I am just trying to compile the latest CVS version and am getting
> stuck here:
>
> checking system version (for dynamic loading)... ./configure: line
> 10445: syntax error near unexpected token `('
> ./configure: line 10445: ` case `(ac_space=' '; set | grep
> ac_space) 2>&1` in'
>
> The current release version gives a similar build error:
>
> checking system version (for dynamic loading)... ./configure: line
> 6740: syntax error near unexpected token `('
> ./configure: line 6740: ` ac_cv_c_aolserver=`(cd $
> {with_aolserver}; pwd)`'
>
> Is this something Fedora Core 5 specific? The last time I built tdom,
> it was on FC2!
Arrg. You're using bash3.1, didn't you? If yes, that's the configure
script error reported several times within the tcl bug tracker, which
also affects the tea build system, used by tDOM. (It's not a bug in
bash3.1; that version just disclosed that configuration script, which
was there for a long time).
Easiest way out is to use an older bash version to run configure. To
grab the current version of tcl.m4 from tclconfig cvs and rebuilding
configure with autoconf (2.5x) _should_ also work.
Sorry for the hassle.
rolf