swarm-support
[Top][All Lists]
Advanced

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

Re: problem on Linux


From: glen e. p. ropella
Subject: Re: problem on Linux
Date: Tue, 15 Oct 1996 07:51:50 -0600

> #3  0x811ed0e in _i_Object__error_ (self=0x81920d0, _cmd=0x81518cc,
>     aString=0x81b50a8 "$msg\n    while executing\n\"error $msg\"\n
> invoked from within\n\"if [file exists $tk_library/tk.tcl] {\n\t    source 
> $tk_library/tk.tc
> l\n\t} else {\n\t    set msg \"can't find $tk_library/tk.tcl; perhaps you 
> \""...) at /users/src/gcc/objc/Object.m:340
> #4  0x8078bc3 in _i_Tk__preInitWithArgc_argv_ (self=0x81920d0,_cmd=0x81473ec,
>     argc=1, argv=0xbffffb28) at Tk.m:108
> #5  0x805c0fd in _i_TkExtra__preInitWithArgc_argv_ (self=0x81920d0,
>     _cmd=0x8151724, argc=1, argv=0xbffffb28) at TkExtra.m:17
> #6  0x80782d8 in _i_Tcl__initWithArgc_argv_ (self=0x81920d0,_cmd=0x81518d4,
>     argc=1, argv=0xbffffb28) at Tcl.m:165
> #7  0x8078c15 in _i_Tk__initWithArgc_argv_ (self=0x81920d0,_cmd=0x8147274,
>     argc=1, argv=0xbffffb28) at Tk.m:117

OK.  

The file tkInt.h should define a C preprocessor macro 
TK_LIBRARY "/usr/lib/tk"

or somesuch where the tcl scripts for tk reside.  Mine happen to
reside in /usr/lib/tk4.0 

It's the scripts in this diretory (namely, tk.tcl) that the program
can't find.

You might try setting your environment to contain the variable
(setenv TK_LIBRARY /usr/lib/tk4.0) with the pointer to the correct
path.  If you don't know what path to use, you can always do a
find / -name tk.tcl -print, which will search the entire directory
structure to which you have access for the file tk.tcl.

Barring success with that, you might have to re-install Tcl/Tk.

Now, why the error message wasn't parsed correctly, I don't know.
It's obbviously trying to give a helpful error message.

glen

-- 
+-------------------------------------------------------------------------+
|glen e. p. ropella (address@hidden) |                                  |
|Hive Drone, SFI Swarm Project         |            Hail Eris!            |
|www.santafe.edu/~gepr/home.html       |                                  |
+-------------------------------------------------------------------------+


reply via email to

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