View · Search · Index
No registered users in community xowiki
in last 10 minutes

[Xotcl] Xotcl on Windows?

From: David LeBlanc <whisper_at_oz.net>
Date: Thu, 4 Jan 2001 01:25:12 -0800

Hi;

I am so far unable to run any of the sample programs or get gdbm or qgdbm or
whatever to run. There seems to be many steps in installing xotcl that are
not described in the installwin readme.

I have installed the software, fixed a bug in the makefile.vc that causes
auto_path to be wrong in the built make file (INSTALLDIR is defined, but
INSTDIR is used in the lib path macro).

Then, I ran installwin.tcl.

Then, even though not in the instructions, I ran make.xotcl in the new
/tcl/lib/xotcl dir.

Then, I ran qgdbm0.3/install.tcl - something else not in the instructions,
but it looked right.

Now, whenever I try to run almost any example program (in awo etc.) I get
errors. In the case of awo/webdocument.xotcl it says it can't find
webagent.xotcl. This file is in the mos dir.

Trying to run any of the store files gets a very curious problem:
couldn't load library "K:\tcl\lib\tcl8.3\gdbm0.3\libtclgdbm.so": this
library or a dependent lib
rary could not be found in library path
    while executing
"load K:/tcl/lib/tcl8.3/gdbm0.3/libtclgdbm.so"
    ("package ifneeded" script)
    invoked from within
"package require -exact gdbm 0.3"
    (file "qgdbm.tcl" line 28)

Firstly, this is windows and the shared lib extension is "dll", not "so".
(the .so error is in tcl/lib/xotcl/qgdbm0.3/pkgIndex.tcl file - hard coded
shared lib extension. (Curiously, the pkgIndex.tcl in the sources doesn't
have this problem - in fact it looks completely different.)) Secondly
whatever extension you use, there is no libtclgdbm.dll or .so file anywhere!
I have a tclgdbm.dll, a libgdbm.dll and a gdbm.dll, but no libtclgdbm.dll.
Which is which and where should they go?

Another problem is with trying to run counter.xotcl in the
/tcl/src/xotcl/apps dir - again, I get a package not found error: in this
case, htmlplace.xotcl. It's almost like Xotclsh or XoWish don't do a
pkgIndex search in any of the lib/xotcl dirs or subdirs.

If anyone can tell me how to get all this running on windows I would be VERY
greatful.

Thanks,

Dave LeBlanc