Forum OpenACS Q&A: Re: XOTcl extension not loaded

Collapse
Posted by Deds Castillo on
We've solved the problem to an older xotcl.tcl file in the aolserver modules/tcl directory with a hardcoded serializer version. Replacing that with the newer one did the trick.
Collapse
Posted by Gustaf Neumann on
remember, when you compile xotcl, do at the end an "make install-aol", not just an "make install". The first one installs xotcl.tcl as well, so you don't have to care about it manually (see e.g. http://www.openacs.org/xowiki/xotcl-core)

best regards
-gustaf neumann

Collapse
Posted by Deds Castillo on
Thanks Gustaf. In this particular case we were trying to make two versions work so they're installed on different paths as we're not sure if 1.6.1 will work on an older xowiki. Turns out it did barf on the older one since it uses the same xotcl.tcl but I just removed the package require on the -procs* since it's loaded already in xotcl.tcl

For different versions, will it work if the xotcl.tcl is moved to the tcl directory of the openacs instance and removed from aolserver?

Collapse
Posted by Gustaf Neumann on
XOTcl 1.6.1 (with its xotcl.tcl and the serializer etc) is supposed to work with older versions of xowiki and xotcl-core. As you are mentioning "package require" (not sure from where you have deleted it): There is only one thing, i remember: About two years ago, i added the following change to xotcl-core: http://cvs.openacs.org/cvs/openacs-4/packages/xotcl-core/tcl/00-serializer-procs.tcl?r1=1.1&r2=1.2

There was for a short time the need to use a different serializer for openacs than it is in the XOTcl distribution. If you have a version of xowiki older than two years, you should be able to use this patch for compatibility.

Best regards
-gustaf neumann