Forum OpenACS Q&A: ERROR compiling AOLserver3.3oacs1 & tDOM 0.7.8

I get this error when compiling tDOM 0.7.8

clude" -I/usr/local/src/aolserver/aolserver/include    -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES  -fPIC -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES  -fPIC -c `echo ../generic/xmlsimple.c` -o xmlsimple.o
In file included from ../generic/xmlsimple.c:69:
../generic/dom.h:487: error: parse error before "Tcl_Obj"
../generic/dom.h:487: warning: no semicolon at end of struct or union
../generic/dom.h:495: error: parse error before '}' token
../generic/dom.h:495: warning: data definition has no type or storage class
../generic/dom.h:504: error: parse error before "domDocument"
[...]
../generic/xmlsimple.c:1112: error: `pos' undeclared (first use in this function)
../generic/xmlsimple.c:1113: error: `xml' undeclared (first use in this function)
../generic/xmlsimple.c:1113: error: `ignoreWhiteSpaces' undeclared (first use in this function)
../generic/xmlsimple.c:1113: error: `errStr' undeclared (first use in this function)
make: *** [xmlsimple.o] Error 1

Any ideas...

Collapse
Posted by Luis Garcia on
So any ideas on this??
Thanks!
Collapse
Posted by Jeff Davis on
it looks like it must not be picking up the Tcl includes
(where Tcl_Obj is defined). You might need to give a
--with-tcl flag to configure to pick it up (if you don't
have tcl in a standard place).
Collapse
Posted by Luis Garcia on
Hi Jeff,

Already did that yesterday before this post and did not work.

Thanks!

Collapse
Posted by Luis Garcia on

...and before someone asks, I also replaced the folder where tDOM resides with a new donwload. Also I used "make clean??" (well don't remeber the exact command right now... but you get the point! :) )

Thanks!

Collapse
Posted by Luis Garcia on

OK, that worked! Now, I see all those ***.o compiled files in my unix directory. Since I did not do "make install" (only did "make"), should I move them somewhere?

Thanks!