[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New Swarm user wannabe
From: |
glen e. p. ropella |
Subject: |
Re: New Swarm user wannabe |
Date: |
Mon, 24 Mar 1997 11:53:53 -0700 |
Hal L. DeVore writes:
> OK.
>
> BLT 2.1: I got this from ftp://ftp.santafe.edu/pub/swarm/needed-software/
> but can't get it to compile/link. You mention a needed change but I can
> find no reference to such a change on the Swarm Web pages. Here's what I
> get:
>
> ./src/libBLT.a(bltBgexec.o): In function `BgExecCmd':
> bltBgexec.o(.text+0x9b5): undefined reference to `Tcl_CreatePipeline'
> make: *** [bltwish] Error 1
That's it! That's the error. I've appended the patch
file to fix it. Save the appendix into a file (e.g.
blt-patch-for-Swarm-with-tcl7.6) and go into the blt2.1/src
directory and apply the patch:
% cd blt2.1/src
% patch < blt-patch-for-Swarm-with-tcl7.6
Then recompile blt. You should now be able to use Tcl/Tk
7.6/4.2.
> BLT 1.9: I have this (precompiled version from my Red Hat 4.1 CD) but I
> get the following error trying to run the simpleCBug tutorial program:
> (Tcl -eval:) invalid command name "bitmap"
> while executing
> [and then a long traceback]
>
>
> Heatbugs: appears to run but gives a continous stream of errors like this:
> BLTVector does not respond to method append
> (Tcl -eval:) object does not respond to method
> while executing
Hmmm. See if this fixes things. If you're still getting
these errors after you use the new blt & tcl 7.6, then
we'll address those.
glen
p.s. I thought I'd sent the patch to the list before; but,
that was in the heat of SwarmFest, so I may have forgotten.
Sorry!
---------blt-patch-for-Swarm-with-tcl7.6 patch file----------------
--- /net/user/gepr/Swarm/support-libs/blt2.1/src/bltBgexec.c Sat Apr 20
22:28:26 1996
+++ bltBgexec.c Tue Feb 11 14:45:57 1997
@@ -1175,7 +1175,7 @@
if (bgPtr->errVar != NULL) {
errFilePtr = &(bgPtr->errorId); /* Error variable designated */
}
- numPids = Tcl_CreatePipeline(interp, argc - i, argv + i, &(bgPtr->pidArr),
+ numPids = TclCreateCommandChannel(interp, argc - i, argv + i,
&(bgPtr->pidArr),
(int *)NULL, &(bgPtr->outputId), errFilePtr);
if (numPids < 0) {