swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Active Graph (Blt_ZoomStack) error


From: Paul Johnson
Subject: Re: Active Graph (Blt_ZoomStack) error
Date: Thu, 26 Jun 1997 23:33:21 -0500 ()

I'm wondering these things:
1. THe advice from the big guys has been use tcl7.6/tk4.2.  Then
patch blt2.1 and install it. You can download those rpms--tcl/tk--
and be done with it.  Why not?  I've heard several people say that
the newest swarm won't be happy with the older tcl/tk, but 
I don't know exactly why. NOTE: Yes, I realize the faq says you are
a bonehead who can't read if you try the newer tcl/tk, but just ignore it.

I'm curious to know about the libtclobjc install after you did that. Does
the check program work for you still with tcl7.5/tk4.1?  It never worked
for me with the newer tcl/tk. 

2. You could circumvent this by making the binary version of swarm.  It
has tcl/tk/blt in there.  I have not tried it with 1.0.2, though.

3.  Did you patch blt2.1 before compiling?

4.  It seems like a common problem that the ldconfig does not get
updated correctly.  Perhaps after you upgraded tcl/tk, it did not make
note of it.  

Sven T. told me two things he ran across in Redhat 4.1 after upgrading
from 4.0. These may affect you. 
A.  there is a missing symbolic link. He said type
#   cd /usr/local/lib
#   ln -s libBLT.so.2.1 libBLT.so.2
#   ln -s libBLT.so.2.1 libBLT.so

B.  The linker database needs updating.
add "/usr/local/lib" as the first line in /etc/ld.so.conf, then 
#ldconfig
 
Then 
#ldconfig -p
to get a list of libraries.  

After you compile swarm,  and make an application, check to see what
dynamic libraries it thinks it is using.  Type
#ldd ./app-name 
and you should see
      libBLT.so.2
      libtk.so
      libtcl.so


4. Readline.  I wonder if that could be part of the problem. I could never
get swarm to work with it turned on in libtclobjc.  But one other person
on the list, I think Hal D., said he was able to make it go. 

5.  Your makefile.conf has a lot more detail in it that the one I used.
Under OTHERINCDIRS, I have items for usr/X11, tcl7.6, tk4.2, blt2.1, and
libtclobjc.  I don't see entries in yours for tcl,tk, and blt. But you
have lots of stuff I dont.

Under OTHERLIBDIRS, I have /usr/X11R6/lib, /usr/local/lib, and /usr/lib.
 
FOr sysdeplibs, I  have only -ldl.




Paul E. Johnson                           address@hidden
Dept. of Political Science                Office: (913) 864-9086
University of Kansas                      FAX: (913) 864-5700
Lawrence, Kansas 66045                    Home: (913) 842-9916                  
   

On Fri, 27 Jun 1997, Steve Emsley wrote:

> 
> Hi,
> 
> I've just upgraded to Swarm 1.0.2 taking the opportunity to integrate
> tcl7.5 and tk4.1 (RedHat 4.0 release) rather than have both these and
> the tcl7.4/tk4.0 versions hanging about.
> 
> My applications (& heatbugs) compile fine but return this error when
> running. The BLTGraph no longer works correctly as can be seen from the
> last four lines. However, when recompiling BLT2.1 the graph demo works
> fine.
> 
> (Tcl -eval:) invalid command name "Blt_ZoomStack"
>     while executing
> "unknown_pre_tclObjc $name $args"
>     invoked from within
> "if {[llength [info procs unknown_pre_tclObjc]]} {
>        unknown_pre_tclObjc $name $args
>      } else {
>        error "in unknown: invalid command name: ..."
>     invoked from within
> "if {[string match address@hidden $name]} {
>      return [uplevel tclObjc_msg_send $name $args]
>    } else {
>      if {[llength [info procs unknown_pre_tclObjc]]}  ..."
>     (procedure "unknown" line 2)
>     invoked from within
> "Blt_ZoomStack .w0x819f9b8.w0x819f6f8"
> while evaluating: 
> Blt_ZoomStack .w0x819f9b8.w0x819f6f8; 
> Blt_Crosshairs .w0x819f9b8.w0x819f6f8; 
> Blt_ActiveLegend .w0x819f9b8.w0x819f6f8; 
> Blt_ClosestPoint .w0x819f9b8.w0x819f6f8
> 
> I note that tkpbjc/BLTGraph.m contains the line: [globalTkInterp eval: 
> "Blt_ZoomStack %s; Blt_Crosshairs %s; Blt_ActiveLegend %s; 
> Blt_ClosestPoint %s", ...
> This file #imports tkobjc/global.h which does not exist in the distribution.
> 
> This seems to be a tk/tcl problem. My Makefile.conf has the lines:
>  SYS=linux
> OTHERINCDIRS=-I/usr/include/ -I/usr/lib/gcc-lib/i486-linux/2.7.2/include 
> -I/usr/X11R6/include/X11 -I/usr/local/blt/include -I/usr/include/readline
> OTHERLIBDIRS=-L/usr/X11R6/lib -L/usr/local/blt/lib -L/usr/lib 
> -L/usr/lib/gcc-lib/i486-linux/2.7.2
> SYSDEPLIBS=-L/lib -ldl -L/usr/lib -lreadline -lncurses -lobjc -ltclobjc
> 
> LDCONFIG=archive
> 
> Can anyone suggest where I might be going wrong.
> Thanks in advance.
> -- 
> Steve
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Steve Emsley                   Ecosystems Analysis & Management Group
> address@hidden                         University of Warwick, England
> http://www.oikos.warwick.ac.uk/~sme/               (+44) (0)1598 753648
> -----------------------------------------------------------------------
> Life would be so much easier if we could just look at the source code.
> 
>                   ==================================
>    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.
>                   ==================================
> 


                  ==================================
   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.
                  ==================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]