swarm-support
[Top][All Lists]
Advanced

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

Old wine in new bottles


From: Sven N. Thommesen
Subject: Old wine in new bottles
Date: Fri, 24 Apr 1998 16:38:10 -0500

OK, I'll split the old theme into two parts, so as not to confuse the issues.

This part will deal with old Swarm (1.0.3) and possible upgrades to blt and
tclobjc.

The platform is: RedHat 4.2, kernel 2.0.32, gcc 2.7.2.1, libc 5.3.2
(libc1), tcl 7.6p2, tk 4.2p2.

a) Using blt-2.1 and libtclobjc-1.1b7 I have no problems. 

b) with blt-2.3 and tclobjc-1.3 the compiler complains about a missing Tk.h. 

c) with blt-2.3 and tclobjc-1.2a there are compiler errors, and a number of
application runtime errors of this sort:

(Tcl -eval:) bad operation "config": must be "handler" or a configuration
option
    while executing
"drag&drop source
.w0x81898b8.w0x818c050.w0x818c2b0.w0x818dce8.w0x818e048.w0x818e398.w0x818e69
0 config -packagecmd {do_package address@hidden ..."
while
evaluating: drag&drop source
.w0x81898b8.w0x818c050.w0x818c2b0.w0x818dce8.w0x818e048.w0x818e398.w0x818e69
0 config -packagecmd {do_package address@hidden -sitecmd
sitecmd -button 1


So the question is, for this version of Swarm on this platform, is there
any point in trying to go beyond blt2.1/tclobjc-1.1b7 ?


--Sven

At 09:38 AM 4/24/1998 -0700, you wrote:
>>>>>> "ST" == Sven N Thommesen <address@hidden> writes:
>
>ST> Switched to blt2.3/tclobjc-1.3. 
>
>(You don't need blt2.3, but you do need tclobjc-1.3.)
>
>ST> Discovered that
>ST> having two versions of BLT on the system at the same time (as
>ST> long as both were 2.x) confused the heck out of the dynamic
>ST> linker. 
>
>That should work fine.  I have a machine configured that way. 
>
>How do you know that the message from Tk are "garbage"?  It sounds
>to me like a probable {TCL,TK,BLT}_LIBRARY variable problem.
>
>ST> Compiles fine, EXCEPT that I get
>ST> error messages about missing symbols like MAX_INT, which are all
>ST> defined in standard header file /usr/include/limits.h ! Is this a
>ST> known bug?
>
>You don't happen to have a -I/usr/include in your configuration?
>
>ST> After much fiddling with the makefile (in 1.0.3) and
>ST> /etc/ld.so.conf I finally got it to work (even if there's some
>ST> garbage error messages from tk during program startup.)
>
>ST> (I also suddenly have problems with lpr -- please tell me running
ldconfig
>ST> didn't suddenly unleash gremlins ...)
>
>Don't fiddle with /etc/ld.so.conf unless you know what you are doing.
>Instead, change the LD_LIBRARY_PATH environment variable.
>


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