[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
BLT Patch (Re: Tcl Plugin?)
From: |
Ken Cline |
Subject: |
BLT Patch (Re: Tcl Plugin?) |
Date: |
Tue, 24 Jun 1997 11:42:44 -0400 (EDT) |
Thanks Glen.
Update:
I actually found the patch already on the mailing list
archives (you'd posted it on 11 Feb 97) and it worked great.
(Suggestion: Maybe the patch should be placed at the
needed-software site (in a BLT-README file perhaps), for
those who don't start searching the list archives at the
first sign of trouble. What'd ya think?)
BTW, upgrading to 7.6/4.2 makes no difference to the
libtclobjc configure script, that is I get the exact same
error:
Tcl_AppInit failed: version mismatch: library scripts
expect Tcl version 7.5b1 or later but the loaded version
is only 105
It appears that the libtclobjc configure script is hard
coded to search for either tcl7.5/tk4.1 or tcl7.4/tk4.0.
I decided to just ignore this problem and charge forward.
So far I've gotten heatbugs to work :) but not without some
problems with our X11R6/lib (e.g. "libXpm.so: could not read
symbols: Invalid operation", etc) ... we were able to fix
this temporarily but looks like the (acting) sys-admin and I
will have to take a closer at that directory.
Again, thanks for your help.
Ken.
On Mon, 23 Jun 1997, glen e. p. ropella wrote:
> That's correct. In order for 7.6/4.2 to work, you need to
> patch BLT. But, if you do patch BLT, then 7.6/4.2 works
> just fine.
>
> > Everything was going rather smoothly until I got around to
> > running the configure script for libtclobjc... I'm a little
> > puzzled by the following configure error:
> >
> > Tcl_AppInit failed: version mismatch: library scripts
> > expect Tcl version 7.5b1 or later but the loaded version
> > is only 105
> >
> > There is only one version of tcl7.5 available at the
> > Sunscript site and I suspect that it includes beta1
> > revisions. (Something strange happened to the copy of
> > tcl7.5 we downloaded from the SFI site, for some reason the
> > configure script was screwed up. I have no idea what
> > happened but downloading another copy of tcl solved the
> > problem immediately.)
>
> Wow! I'm not even going to try to guess at that one. [grin]
>
> > Well anyway, unless I hear otherwise, I was going to upgrade
> > to 7.6/4.2. Any thoughts? Comments? Warnings?
>
> Go ahead. Here's the necessary patch for blt:
> ----------------------------cut here---------------------------------
> --- /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) {
> -----------------------------cut here-----------------------------------
>
> glen
> --
> {glen e. p. ropella <address@hidden> | Send lawyers, guns, and money! }
> {Hive Drone, SFI Swarm Project | Hail Eris! }
> {http://www.trail.com/~gepr/home.html | =><= }
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
==================================