Forum OpenACS Development: Re: Cannot install tDOM0.8.0 for aolserver 40r10

Collapse
Posted by Darren Nye on
Gustaf,

Thank you for helping us out.

I was also having this problem, and noticed that tcl.m4 was located in four places on my SuSE 10.1 server (running on athlon 64):

/usr/local/src/aolserver40r10/tDOM-0.8.0/extensions/example/tcl.m4
/usr/local/src/aolserver40r10/tDOM-0.8.0/tclconfig/tcl.m4
/usr/local/src/postgresql-7.4.14/config/tcl.m4

The one in the example folder, had two areas where there was a misplaced quote. The one in tclconfig only had one area. The tcl.m4 in config, didn't have any matches. Here is what I changed - but note that in the original files, the |print ] was actually |print $3]

# ORIGINAL
# system=MP-RAS-`awk '{print $3}' /etc/.relid'`

# NEW
system=MP-RAS-`awk '{print $3}' /etc/.relid`

However even after making the changes, I am still getting the same error as originally noted, and pasted below.

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)`'

Another point of interest -- even if I add an extra line to the code, the error is always at line 6740. I'm not sure if this means anything?

I'm not sure if there is maybe another tcl.m4 somewhere, which contains the actual file I should be editing? But searching didn't turn another one up. Or am I supposed to repeat other steps rather than:

../configure --enable-threads --disable-tdomalloc --prefix=/usr/local/aolserver40r10 --with-tcl=/usr/local/lib

Any help would be greatly appreciated!