Hi,
i tried to use tclkit (8.4.1, windows) with XOTcl 1.0 and always get the annoying error message: "Cannot locate the XOTcl library on your system!"
when i try to [package require xotcl] in tclkit.
I read the source code, where the message seems to be generated and found that it is produced by some code that tries to modify the auto_path on loading of the xotcl**.dll. This seems to fail when loaded as a dll.
What has to be done to get rid of the error message and to get the library found?
At the moment i do: lappend auto_path [file join $xotcl-dir library]
This seems to work, if xotcl-dir is set to the lib dir used by XOTcl.
Other than those minor problems, are there any known problems using XOTcl 1.0 with Tclkit?
Michael Schlenker
Hi Michael,
I've fixed recently a bug in which the same error message was reported, but there the xotcl lib was found correctly. perhaps you've encountered the same problem. Can you test this version please:
http://wi.wu-wien.ac.at/~uzdun/xotcl-full-1.0-win-tcl8.4.1.zip
and report your experiences? If it does not work, can you also test, whether XOTcl is loaded or not:
% xotclsh ...
::xotcl::Object o
does this work (should not say "unknown command").
Thanks,
Uwe
On Monday 25 November 2002 03:01 am, Michael Schlenker wrote:
Hi,
i tried to use tclkit (8.4.1, windows) with XOTcl 1.0 and always get the annoying error message: "Cannot locate the XOTcl library on your system!"
when i try to [package require xotcl] in tclkit.
I read the source code, where the message seems to be generated and found that it is produced by some code that tries to modify the auto_path on loading of the xotcl**.dll. This seems to fail when loaded as a dll.
What has to be done to get rid of the error message and to get the library found?
At the moment i do: lappend auto_path [file join $xotcl-dir library]
This seems to work, if xotcl-dir is set to the lib dir used by XOTcl.
Other than those minor problems, are there any known problems using XOTcl 1.0 with Tclkit?
Michael Schlenker
Xotcl mailing list - Xotcl@alice.wu-wien.ac.at http://alice.wu-wien.ac.at/mailman/listinfo/xotcl
Uwe Zdun wrote:
Hi Michael,
I've fixed recently a bug in which the same error message was reported, but there the xotcl lib was found correctly. perhaps you've encountered the same problem. Can you test this version please:
http://wi.wu-wien.ac.at/~uzdun/xotcl-full-1.0-win-tcl8.4.1.zip
and report your experiences? If it does not work, can you also test, whether XOTcl is loaded or not:
Thanks. Now it works as expected (although the windows installer is a bit selective about it's invocation path).
Tested against the download version from xotcl.org which doesn't work and your new version, which does work.
XOTcl lib seems to work from within starkits and unwrapped now without the error message. (not tested extensivly yet though) (It did work before, but with the mentioned error message).
Michael Schlenker