[Xotcl] replacing libtcl
Gustaf Neumann
neumann at wu-wien.ac.at
Thu Aug 12 15:20:17 CEST 2010
On 11.08.10 19:51, Kevin Van Workum wrote:
> I would like to include XOTcl functionality to my control script, but
> naively using "package require XOTcl" doesn't seem to work.
"package require XOTcl" is supposed to work. In xotcl 1.6.6,
i count
128 occurrences of "package require XOTcl".
If Tcl does not find the package, it might be the case that
you installed it to some
directory not on your auto_path or (TCLLIBPATH, etc.), or
that you are
using a Tcl distribution, not including it. After the
install you should have e.g.
/usr/local/lib/xotcl1.6.6/pkgIndex.tcl
/usr/local/lib/xotcl1.6.6/libxotcl1.6.6.so
/usr/local/lib/xotcl1.6.6/libxotclstub1.6.6.a
You can certainly initialize via C as well (using Xotcl_Init()),
but i would recommend the "package require" way.
best regards
-gustaf neumann
More information about the Xotcl
mailing list